comparison libmpdemux/asfheader.c @ 23311:069e8d396198

Make use of new AV_RL64
author reimar
date Thu, 17 May 2007 12:56:08 +0000
parents cc01eab9f3a9
children ab5ff1c5ccaa
comparison
equal deleted inserted replaced
23310:dcfabfaa5c69 23311:069e8d396198
218 218
219 if (this_stream_num == stream_num) { 219 if (this_stream_num == stream_num) {
220 buf_max_index+=14; 220 buf_max_index+=14;
221 if (buf_max_index > buf_len) return 0; 221 if (buf_max_index > buf_len) return 0;
222 buffer+=2; //skip stream-language-id-index 222 buffer+=2; //skip stream-language-id-index
223 avg_ft = AV_RL32(buffer) | (uint64_t)AV_RL32(buffer + 4) << 32; // provided in 100ns units 223 avg_ft = AV_RL64(buffer); // provided in 100ns units
224 buffer+=8; 224 buffer+=8;
225 225
226 // after this are values for stream-name-count and 226 // after this are values for stream-name-count and
227 // payload-extension-system-count 227 // payload-extension-system-count
228 // followed by associated info for each 228 // followed by associated info for each