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
pull/126/head
Michael Niedermayer 18 years ago
parent b9c6d01b6f
commit 6e26856b1a
  1. 3
      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 */

Loading…
Cancel
Save