changeset 23311:069e8d396198

Make use of new AV_RL64
author reimar
date Thu, 17 May 2007 12:56:08 +0000
parents dcfabfaa5c69
children f625b826ec32
files libmpdemux/asfheader.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/asfheader.c	Thu May 17 10:05:00 2007 +0000
+++ b/libmpdemux/asfheader.c	Thu May 17 12:56:08 2007 +0000
@@ -220,7 +220,7 @@
       buf_max_index+=14;
       if (buf_max_index > buf_len) return 0;
       buffer+=2; //skip stream-language-id-index
-      avg_ft = AV_RL32(buffer) | (uint64_t)AV_RL32(buffer + 4) << 32; // provided in 100ns units
+      avg_ft = AV_RL64(buffer); // provided in 100ns units
       buffer+=8;
 
       // after this are values for stream-name-count and