From 5fdcfdf2370d4c1552601a0633beea0bc84aa437 Mon Sep 17 00:00:00 2001 From: Marton Balint Date: Wed, 6 Jun 2012 23:16:29 +0200 Subject: [PATCH] ffplay: fix build if avfilter is disabled Signed-off-by: Marton Balint --- ffplay.c | 2 ++ 1 file changed, 2 insertions(+) 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;