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
This commit is contained in:
Michael Niedermayer 2007-03-05 01:28:20 +00:00
parent b9c6d01b6f
commit 6e26856b1a
1 changed files with 1 additions and 2 deletions

View File

@ -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 */