Mercurial > libavformat.hg
comparison asf-enc.c @ 1860:255cd2d3c876 libavformat
all the time related fields seem to be 64bit so i guess preroll is too (this is just a cosmetic anyway ...)
author | michael |
---|---|
date | Mon, 05 Mar 2007 01:28:20 +0000 |
parents | 597e5dd62399 |
children | 0083e7f290c3 |
comparison
equal
deleted
inserted
replaced
1859:9bc07f90d4a2 | 1860:255cd2d3c876 |
---|---|
308 file_time = 0; | 308 file_time = 0; |
309 put_le64(pb, unix_to_file_time(file_time)); | 309 put_le64(pb, unix_to_file_time(file_time)); |
310 put_le64(pb, asf->nb_packets); /* number of packets */ | 310 put_le64(pb, asf->nb_packets); /* number of packets */ |
311 put_le64(pb, duration); /* end time stamp (in 100ns units) */ | 311 put_le64(pb, duration); /* end time stamp (in 100ns units) */ |
312 put_le64(pb, duration); /* duration (in 100ns units) */ | 312 put_le64(pb, duration); /* duration (in 100ns units) */ |
313 put_le32(pb, preroll_time); /* start time stamp */ | 313 put_le64(pb, preroll_time); /* start time stamp */ |
314 put_le32(pb, 0); /* ??? */ | |
315 put_le32(pb, asf->is_streamed ? 1 : 0); /* ??? */ | 314 put_le32(pb, asf->is_streamed ? 1 : 0); /* ??? */ |
316 put_le32(pb, asf->packet_size); /* packet size */ | 315 put_le32(pb, asf->packet_size); /* packet size */ |
317 put_le32(pb, asf->packet_size); /* packet size */ | 316 put_le32(pb, asf->packet_size); /* packet size */ |
318 put_le32(pb, bit_rate); /* Nominal data rate in bps */ | 317 put_le32(pb, bit_rate); /* Nominal data rate in bps */ |
319 end_header(pb, hpos); | 318 end_header(pb, hpos); |