changeset 711:03157dc4ac6f libavformat

fix time stored in mov based upon 23_fix_timestamp_in_mov.patch by (Calcium | calcium nurs or jp)
author michael
date Wed, 23 Mar 2005 11:15:45 +0000
parents 020ebcb662d5
children 31e58b79ed02
files movenc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/movenc.c	Wed Mar 23 00:26:43 2005 +0000
+++ b/movenc.c	Wed Mar 23 11:15:45 2005 +0000
@@ -1426,7 +1426,7 @@
     if (mov->mdat_written == 0) {
         mov_write_mdat_tag(pb, mov);
         mov->mdat_written = 1;
-        mov->time = s->timestamp;
+        mov->time = s->timestamp + 0x7C25B080; //1970 based -> 1904 based
     }
 
     trk->cluster[cl][id].pos = url_ftell(pb);