[FFmpeg-devel] [PATCH 1/2] avfilter/vf_zoompan: Fix use of uninitialized variables
Paul B Mahol
onemda at gmail.com
Fri Feb 12 09:20:08 CET 2016
On 2/12/16, Michael Niedermayer <michael at niedermayer.cc> wrote:
> Fixes: CID1351392
> Fixes: CID1351393
> Fixes: CID1351395
>
> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> ---
> libavfilter/vf_zoompan.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavfilter/vf_zoompan.c b/libavfilter/vf_zoompan.c
> index 8d640e7..8d0103b 100644
> --- a/libavfilter/vf_zoompan.c
> +++ b/libavfilter/vf_zoompan.c
> @@ -265,7 +265,7 @@ static int request_frame(AVFilterLink *outlink)
> AVFilterContext *ctx = outlink->src;
> ZPContext *s = ctx->priv;
> AVFrame *in = s->in;
> - double zoom, dx, dy;
> + double zoom=1, dx=0, dy=0;
> int ret;
>
> if (in) {
> --
> 1.7.9.5
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
ok
More information about the ffmpeg-devel
mailing list