[FFmpeg-devel] [PATCH] Factorize code from video_thread() and put it in configure_video_filters().

Stefano Sabatini stefano.sabatini-lala
Sun Jan 30 19:15:29 CET 2011


On date Sunday 2011-01-16 03:44:24 +0100, Michael Niedermayer encoded:
> On Sat, Jan 15, 2011 at 01:52:47PM +0100, Stefano Sabatini wrote:
> [...]
> > @@ -2068,10 +2084,8 @@ static int video_thread(void *arg)
> >                  stream_pause(cur_stream);
> >      }
> >   the_end:
> > -#if CONFIG_AVFILTER
> > -    avfilter_graph_free(graph);
> > -    av_freep(&graph);
> > -#endif
> > +    avfilter_graph_free(is->vgraph);
> > +    av_freep(&is->vgraph);
> >      av_free(frame);
> >      return 0;
> 
> is this not moving avfilter code outside the #ifdef and break compilation?

Fixed and updated.
-- 
FFmpeg = Formidable Fierce Mind-dumbing Pitiless Earthshaking Goblin



More information about the ffmpeg-devel mailing list