diff options
Diffstat (limited to 'libavformat/avidec.c')
-rw-r--r-- | libavformat/avidec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c index 774d55f089..11561686d3 100644 --- a/libavformat/avidec.c +++ b/libavformat/avidec.c @@ -735,6 +735,8 @@ static int avi_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp ast->frame_offset); #endif } + if (avi->dv_demux) + dv_flush_audio_packets(avi->dv_demux); /* do the seek */ pos += avi->movi_list; url_fseek(&s->pb, pos, SEEK_SET); |