Commit 550f7c43 authored by Oana Stratulat's avatar Oana Stratulat Committed by Michael Niedermayer

Fixes wrong duration in .mov file. Issue 599

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent ac7efd33
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment