summaryrefslogtreecommitdiff
path: root/ffplay.c
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2012-06-06 23:16:29 +0200
committerMarton Balint <cus@passwd.hu>2012-06-07 01:22:00 +0200
commit5fdcfdf2370d4c1552601a0633beea0bc84aa437 (patch)
tree581a41145e0ab813c15d675bd0b481cf928e647f /ffplay.c
parenta78bc6f78c922158cc6afc6eaf5cfea7dab80cfd (diff)
ffplay: fix build if avfilter is disabled
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ffplay.c b/ffplay.c
index 070db4bec7..cb62614f36 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;