compilation of mov.c broken patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)

Originally committed as revision 3292 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michel Bardiaux 2004-07-06 18:06:17 +00:00 committed by Michael Niedermayer
parent b71cf33c9b
commit 5c030d3ee9
1 changed files with 2 additions and 1 deletions

View File

@ -1985,9 +1985,10 @@ static int mov_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp
// Update other streams
for (i = 0; i<mov->total_streams; i++) {
MOVStreamContext *msc;
if (i == mov_idx) continue;
// Find the nearest 'next' chunk
MOVStreamContext *msc = mov->streams[i];
msc = mov->streams[i];
a = 0;
b = msc->chunk_count - 1;
while (a < b) {