remove useless braces
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>
Mon, 11 Feb 2008 22:34:03 +0000 (22:34 +0000)
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>
Mon, 11 Feb 2008 22:34:03 +0000 (22:34 +0000)
Originally committed as revision 11911 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/mov.c

index f89a028..d043407 100644 (file)
@@ -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;