diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2006-11-14 19:39:32 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2006-11-14 19:39:32 +0300 |
commit | 0bc5ccb89962bed62db4a7b73d79c5bef7f4b03a (patch) | |
tree | 610c4aed5a689bb057f82667bb38da0fe6b7da1a /ffplay.c | |
parent | 1fc17d158245c6011e71058a1200f5ff47138f9a (diff) |
call AVCodec.flush() for audio too
Originally committed as revision 7061 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |