diff options
author | Roman Shaposhnik <roman@shaposhnik.org> | 2004-10-13 00:03:00 +0000 |
---|---|---|
committer | Roman Shaposhnik <roman@shaposhnik.org> | 2004-10-13 00:03:00 +0000 |
commit | 664f583665dae8351fed064367ea9bfb37624811 (patch) | |
tree | fa2a642d7387ce7ea009e3cf964bc75e32688c1d /libavformat/avidec.c | |
parent | b3bfb29980ba16d8b8553d7f52f00fe477b79251 (diff) | |
download | ffmpeg-664f583665dae8351fed064367ea9bfb37624811.tar.gz |
* static allocation for audio packets. This will make it a little bit
faster and easier to follow.
* misc. fixes for problems with seeking
Originally committed as revision 3590 to svn://svn.ffmpeg.org/ffmpeg/trunk
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); |