diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2005-03-23 11:15:45 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-03-23 11:15:45 +0000 |
commit | 8272de4ea249f6734bae9a6cbae1252cd2820f25 (patch) | |
tree | cffc276662dac30c5ef0b4fdeafb05f90542e8e4 /libavformat | |
parent | a9aa346717e09328580a95c54f0a1ea1383b7505 (diff) | |
download | ffmpeg-8272de4ea249f6734bae9a6cbae1252cd2820f25.tar.gz |
fix time stored in mov
based upon 23_fix_timestamp_in_mov.patch by (Calcium | calcium nurs or jp)
Originally committed as revision 4067 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/movenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 6a953920fc..ed9700fcdd 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -1426,7 +1426,7 @@ static int mov_write_packet(AVFormatContext *s, AVPacket *pkt) 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); |