diff options
author | Konstantin Pavlov <thresh@videolan.org> | 2012-08-08 12:30:47 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-08-08 11:14:10 +0200 |
commit | 1a4b55678665b4222766db8ef116256abc3fd013 (patch) | |
tree | cf6ab020f7838fea6f4caddcf6ed7c652d5b9ffa | |
parent | fe2147e93612cdcb4101b3b087f9a9f1835dba11 (diff) | |
download | ffmpeg-1a4b55678665b4222766db8ef116256abc3fd013.tar.gz |
avplay: fix build with lavfi disabled.
Issue introduced in 67339f6e.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-rw-r--r-- | avplay.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |