diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-04-01 02:55:29 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-04-01 02:58:15 +0200 |
commit | 7ac167493e5404fd2d3f307d02127f23fca970f0 (patch) | |
tree | bea8a71cd59b1ea9a63692f7df1bdedb8446a9c1 /libavformat/mov.c | |
parent | 859676dd426e7051b41b174886e6e64271e93cdc (diff) | |
parent | e006d71fa849542eb27146efac629288703b3d75 (diff) | |
download | ffmpeg-7ac167493e5404fd2d3f307d02127f23fca970f0.tar.gz |
Merge remote-tracking branch 'newdev/master'
* newdev/master:
mpegts: propagate avio EOF in read_packet()
configure: Initial support for --target-os=symbian
Fixed-point FFT and MDCT
Include dependencies for test programs
ac3enc: simplify sym_quant()
flvdec: read index stored in the 'keyframes' tag.
mov: Add support for zero-sized stsc runs.
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r-- | libavformat/mov.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index d819c87802..60dbbfca2e 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -1553,7 +1553,7 @@ static void mov_build_index(MOVContext *mov, AVStream *st) for (i = 0; i < sc->chunk_count; i++) { current_offset = sc->chunk_offsets[i]; - if (stsc_index + 1 < sc->stsc_count && + while (stsc_index + 1 < sc->stsc_count && i + 1 == sc->stsc_data[stsc_index + 1].first) stsc_index++; for (j = 0; j < sc->stsc_data[stsc_index].count; j++) { |