From 1a4b55678665b4222766db8ef116256abc3fd013 Mon Sep 17 00:00:00 2001 From: Konstantin Pavlov Date: Wed, 8 Aug 2012 12:30:47 +0400 Subject: avplay: fix build with lavfi disabled. Issue introduced in 67339f6e. Signed-off-by: Anton Khirnov --- avplay.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'avplay.c') 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; -- cgit v1.2.3