You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-30 22:24:04 +02:00
mov: add workaround for incorrect 0 time point.
Fixes Ticket1471 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@ -780,6 +780,7 @@ static void mov_metadata_creation_time(AVDictionary **metadata, time_t time)
|
||||
char buffer[32];
|
||||
if (time) {
|
||||
struct tm *ptm;
|
||||
if(time >= 2082844800)
|
||||
time -= 2082844800; /* seconds between 1904-01-01 and Epoch */
|
||||
ptm = gmtime(&time);
|
||||
if (!ptm) return;
|
||||
|
Reference in New Issue
Block a user