summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-02-11 22:34:03 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-02-11 22:34:03 +0000
commit3a3aa49ab73bd8fad04b2d92e85b08a82292c609 (patch)
treebdf76241945ec4d421d4f76ec82f9a09f9f9dc2c /libavformat
parent311490cccde3a9c78a04489591c24b9b2f6bedc5 (diff)
remove useless braces
Originally committed as revision 11911 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/mov.c3
1 files changed, 1 insertions, 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;