You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
ffplay: fix build if avfilter is disabled
Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
2
ffplay.c
2
ffplay.c
@@ -2309,7 +2309,9 @@ static void stream_component_close(VideoState *is, int stream_index)
|
|||||||
|
|
||||||
ic->streams[stream_index]->discard = AVDISCARD_ALL;
|
ic->streams[stream_index]->discard = AVDISCARD_ALL;
|
||||||
avcodec_close(avctx);
|
avcodec_close(avctx);
|
||||||
|
#if CONFIG_AVFILTER
|
||||||
free_buffer_pool(&is->buffer_pool);
|
free_buffer_pool(&is->buffer_pool);
|
||||||
|
#endif
|
||||||
switch (avctx->codec_type) {
|
switch (avctx->codec_type) {
|
||||||
case AVMEDIA_TYPE_AUDIO:
|
case AVMEDIA_TYPE_AUDIO:
|
||||||
is->audio_st = NULL;
|
is->audio_st = NULL;
|
||||||
|
Reference in New Issue
Block a user