Commit 95ff369a authored by michael's avatar michael

call AVCodec.flush() for audio too


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7061 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent bfefaca2
......@@ -1922,6 +1922,7 @@ static int decode_thread(void *arg)
}else{
if (is->audio_stream >= 0) {
packet_queue_flush(&is->audioq);
avcodec_flush_buffers(ic->streams[audio_index]->codec);
}
if (is->subtitle_stream >= 0) {
packet_queue_flush(&is->subtitleq);
......
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