mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 15:49:50 +08:00
* 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
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user