[FFmpeg-cvslog] avplay: fix build with lavfi disabled.
Konstantin Pavlov
git at videolan.org
Thu Aug 9 01:02:22 CEST 2012
ffmpeg | branch: master | Konstantin Pavlov <thresh at videolan.org> | Wed Aug 8 12:30:47 2012 +0400| [1a4b55678665b4222766db8ef116256abc3fd013] | committer: Anton Khirnov
avplay: fix build with lavfi disabled.
Issue introduced in 67339f6e.
Signed-off-by: Anton Khirnov <anton at khirnov.net>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1a4b55678665b4222766db8ef116256abc3fd013
---
avplay.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/avplay.c b/avplay.c
index ee069b5..3f2c425 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;
More information about the ffmpeg-cvslog
mailing list