From 3e67bbc355c721255b2552c0ea09e716ff0df6df Mon Sep 17 00:00:00 2001 From: michael <michael@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b> Date: Tue, 6 Jul 2004 18:06:17 +0000 Subject: [PATCH] compilation of mov.c broken patch by (Michel Bardiaux <mbardiaux at peaktime dot be>) git-svn-id: file:///var/local/repositories/ffmpeg/trunk@3292 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b --- libavformat/mov.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index 7c6e9820c..745400b93 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) { -- 2.25.4