aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonstantin Pavlov <thresh@videolan.org>2012-08-08 12:30:47 +0400
committerAnton Khirnov <anton@khirnov.net>2012-08-08 11:14:10 +0200
commit1a4b55678665b4222766db8ef116256abc3fd013 (patch)
treecf6ab020f7838fea6f4caddcf6ed7c652d5b9ffa
parentfe2147e93612cdcb4101b3b087f9a9f1835dba11 (diff)
downloadffmpeg-1a4b55678665b4222766db8ef116256abc3fd013.tar.gz
avplay: fix build with lavfi disabled.
Issue introduced in 67339f6e. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-rw-r--r--avplay.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/avplay.c b/avplay.c
index ee069b58dd..3f2c4256c2 100644
--- a/avplay.c
+++ b/avplay.c
@@ -2236,7 +2236,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;