diff options
author | Michel Bardiaux <mbardiaux@peaktime.be> | 2004-07-06 18:06:17 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-07-06 18:06:17 +0000 |
commit | 5c030d3ee97acdca75c183c793fec258035c75df (patch) | |
tree | 92069a6d746fff214be614182e12d2806fd7ac93 /libavformat | |
parent | b71cf33c9b9bb500f625a5710c563f4884d1a696 (diff) | |
download | ffmpeg-5c030d3ee97acdca75c183c793fec258035c75df.tar.gz |
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
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mov.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index 7c6e9820cc..745400b933 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -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) { |