[FFmpeg-devel] [PATCH 2/2] avfilter/vf_zoompan: Initialize ret

Michael Niedermayer michael at niedermayer.cc
Fri Feb 12 14:20:55 CET 2016


On Fri, Feb 12, 2016 at 09:20:22AM +0100, Paul B Mahol wrote:
> On 2/12/16, Michael Niedermayer <michael at niedermayer.cc> wrote:
> > Silences: CID1351394
> >
> > 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 8d0103b..99a1a34 100644
> > --- a/libavfilter/vf_zoompan.c
> > +++ b/libavfilter/vf_zoompan.c
> > @@ -266,7 +266,7 @@ static int request_frame(AVFilterLink *outlink)
> >      ZPContext *s = ctx->priv;
> >      AVFrame *in = s->in;
> >      double zoom=1, dx=0, dy=0;
> > -    int ret;
> > +    int ret = -1;
> >
> >      if (in) {
> >          ret = output_single_frame(ctx, in, s->var_values, s->current_frame,
> > --
> > 1.7.9.5
> >
> > _______________________________________________
> > ffmpeg-devel mailing list
> > ffmpeg-devel at ffmpeg.org
> > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> >
> 
> ok

applied

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160212/36b045be/attachment.sig>


More information about the ffmpeg-devel mailing list