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

Michael Niedermayer michaelni
Sun Jan 16 03:44:24 CET 2011


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?

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

Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110116/b87c8163/attachment.pgp>



More information about the ffmpeg-devel mailing list