提交 550f7c43 编写于 作者: O Oana Stratulat 提交者: Michael Niedermayer

Fixes wrong duration in .mov file. Issue 599

Signed-off-by: NMichael Niedermayer <michaelni@gmx.at>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册