[FFmpeg-devel] [PATCH 5/5] ffplay: fix build if avfilter is disabled
Marton Balint
cus at passwd.hu
Thu Jun 7 00:02:35 CEST 2012
Signed-off-by: Marton Balint <cus at passwd.hu>
---
ffplay.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/ffplay.c b/ffplay.c
index f143ab6..393445a 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -2304,7 +2304,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;
--
1.7.3.4
More information about the ffmpeg-devel
mailing list