Browse Source

Fixes wrong duration in .mov file. Issue 599

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.10
Oana Stratulat Michael Niedermayer 14 years ago
parent
commit
550f7c43ec
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavformat/mov.c

+ 1
- 0
libavformat/mov.c View File

@@ -807,6 +807,7 @@ static int mov_read_mvhd(MOVContext *c, AVIOContext *pb, MOVAtom atom)
avio_rb32(pb); /* current time */
avio_rb32(pb); /* next track ID */

c->fc->duration = av_rescale(c->duration, AV_TIME_BASE, c->time_scale);
return 0;
}



Loading…
Cancel
Save