]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/movenc.c
mpegtsenc: do not reference the deprecated ffmpeg option 'vbsf' in a log message
[ffmpeg] / libavformat / movenc.c
index e5f0c4c264ce9d79989686be40c338f423ac5c71..615cc1c69b34a59bf1aad61a5b2af6a31712c1e1 100644 (file)
@@ -2570,7 +2570,8 @@ static int mov_write_header(AVFormatContext *s)
 #endif
     if (t = av_dict_get(s->metadata, "creation_time", NULL, 0))
         mov->time = ff_iso8601_to_unix_time(t->value);
-    mov->time += 0x7C25B080; //1970 based -> 1904 based
+    if (mov->time)
+        mov->time += 0x7C25B080; // 1970 based -> 1904 based
 
     if (mov->chapter_track)
         mov_create_chapter_track(s, mov->chapter_track);