[FFmpeg-devel] [PATCH] avformat/dump: Use int64_t for intermediate time values

Carl Eugen Hoyos ceffmpeg at gmail.com
Sat May 16 18:23:00 EEST 2020


Am Sa., 16. Mai 2020 um 16:21 Uhr schrieb Derek Buitenhuis
<derek.buitenhuis at gmail.com>:
>
> Prevents wrap-around to negative values while calculating the duration string.
>
> Before:
>
>     Duration: -411422:-59:-42.17, start: 0.000000, bitrate: 0 kb/s
>
> After:
>
>     Duration: 781623:28:34.17, start: 0.000000, bitrate: 0 kb/s
>
> Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>
> ---
> Minimal example file: http://chromashift.org/s/long3.mp4`

I believe there is a ticket that this patch fixes, but I won't find it
quickly;-(

Carl Eugen


More information about the ffmpeg-devel mailing list