From: Konstantin Pavlov Date: Wed, 8 Aug 2012 08:30:47 +0000 (+0400) Subject: avplay: fix build with lavfi disabled. X-Git-Tag: android-x86-4.4-r1~8529^2~1011 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=1a4b55678665b4222766db8ef116256abc3fd013;p=android-x86%2Fexternal-ffmpeg.git avplay: fix build with lavfi disabled. Issue introduced in 67339f6e. Signed-off-by: Anton Khirnov --- 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;