Browse Source

avplay: fix build with lavfi disabled.

Issue introduced in 67339f6e.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
tags/n1.0
Konstantin Pavlov Anton Khirnov 13 years ago
parent
commit
1a4b556786
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      avplay.c

+ 2
- 0
avplay.c View File

@@ -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;


Loading…
Cancel
Save