mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-17 12:30:11 +01:00
Fixes wrong duration in .mov file. Issue 599
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
committed by
Michael Niedermayer
parent
ac7efd3364
commit
550f7c43ec
@@ -807,6 +807,7 @@ static int mov_read_mvhd(MOVContext *c, AVIOContext *pb, MOVAtom atom)
|
|||||||
avio_rb32(pb); /* current time */
|
avio_rb32(pb); /* current time */
|
||||||
avio_rb32(pb); /* next track ID */
|
avio_rb32(pb); /* next track ID */
|
||||||
|
|
||||||
|
c->fc->duration = av_rescale(c->duration, AV_TIME_BASE, c->time_scale);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user