diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-03-05 04:28:20 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-03-05 04:28:20 +0300 |
commit | 6e26856b1a520649f70dca08fd8581ef83cb1f29 (patch) | |
tree | 5ee5ae2e11c661fccdddb5109a0f53ecd1761049 /libavformat/asf-enc.c | |
parent | b9c6d01b6fa47b8b355ce745499b346222a6460c (diff) |
all the time related fields seem to be 64bit so i guess preroll is too (this is just a cosmetic anyway ...)
Originally committed as revision 8237 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/asf-enc.c')
-rw-r--r-- | libavformat/asf-enc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/asf-enc.c b/libavformat/asf-enc.c index 2a87591e93..da3bc73726 100644 --- a/libavformat/asf-enc.c +++ b/libavformat/asf-enc.c @@ -310,8 +310,7 @@ static int asf_write_header1(AVFormatContext *s, int64_t file_size, int64_t data put_le64(pb, asf->nb_packets); /* number of packets */ put_le64(pb, duration); /* end time stamp (in 100ns units) */ put_le64(pb, duration); /* duration (in 100ns units) */ - put_le32(pb, preroll_time); /* start time stamp */ - put_le32(pb, 0); /* ??? */ + put_le64(pb, preroll_time); /* start time stamp */ put_le32(pb, asf->is_streamed ? 1 : 0); /* ??? */ put_le32(pb, asf->packet_size); /* packet size */ put_le32(pb, asf->packet_size); /* packet size */ |