From 3a3aa49ab73bd8fad04b2d92e85b08a82292c609 Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Mon, 11 Feb 2008 22:34:03 +0000 Subject: [PATCH] remove useless braces Originally committed as revision 11911 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/mov.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index f89a02849d..d043407c37 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -1435,9 +1435,8 @@ static void mov_build_index(MOVContext *mov, AVStream *st) } else { chunk_duration += sc->stts_data[stts_index].duration * chunk_samples; chunk_samples -= sc->stts_data[stts_index].count; - if (stts_index + 1 < sc->stts_count) { + if (stts_index + 1 < sc->stts_count) stts_index++; - } } } current_offset += sc->bytes_per_frame;