Commit 5fdcfdf2 authored by Marton Balint's avatar Marton Balint

ffplay: fix build if avfilter is disabled

Signed-off-by: 's avatarMarton Balint <cus@passwd.hu>
parent a78bc6f7
......@@ -2309,7 +2309,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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment