mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-11 01:25:25 +00:00
do not redundantly set stream nb_frames, it's already set in read_stts
Originally committed as revision 20459 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
e745272196
commit
c2564699bf
@ -1436,7 +1436,6 @@ static void mov_build_index(MOVContext *mov, AVStream *st)
|
|||||||
|
|
||||||
current_dts -= sc->dts_shift;
|
current_dts -= sc->dts_shift;
|
||||||
|
|
||||||
st->nb_frames = sc->sample_count;
|
|
||||||
for (i = 0; i < sc->chunk_count; i++) {
|
for (i = 0; i < sc->chunk_count; i++) {
|
||||||
current_offset = sc->chunk_offsets[i];
|
current_offset = sc->chunk_offsets[i];
|
||||||
if (stsc_index + 1 < sc->stsc_count &&
|
if (stsc_index + 1 < sc->stsc_count &&
|
||||||
|
Loading…
Reference in New Issue
Block a user