[FFmpeg-cvslog] ffplay: fix build if avfilter is disabled

Marton Balint git at videolan.org
Thu Jun 7 22:00:51 CEST 2012


ffmpeg | branch: master | Marton Balint <cus at passwd.hu> | Wed Jun  6 23:16:29 2012 +0200| [5fdcfdf2370d4c1552601a0633beea0bc84aa437] | committer: Marton Balint

ffplay: fix build if avfilter is disabled

Signed-off-by: Marton Balint <cus at passwd.hu>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5fdcfdf2370d4c1552601a0633beea0bc84aa437
---

 ffplay.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/ffplay.c b/ffplay.c
index 070db4b..cb62614 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -2309,7 +2309,9 @@ static void stream_component_close(VideoState *is, int stream_index)
 
     ic->streams[stream_index]->discard = AVDISCARD_ALL;
     avcodec_close(avctx);
+#if CONFIG_AVFILTER
     free_buffer_pool(&is->buffer_pool);
+#endif
     switch (avctx->codec_type) {
     case AVMEDIA_TYPE_AUDIO:
         is->audio_st = NULL;



More information about the ffmpeg-cvslog mailing list