You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avplay: fix build with lavfi disabled.
Issue introduced in 67339f6e
.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
committed by
Anton Khirnov
parent
fe2147e936
commit
1a4b556786
2
avplay.c
2
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;
|
||||
|
Reference in New Issue
Block a user