[MPlayer-dev-eng] [PATCH] Set i_bps for ASF files

Alex Beregszaszi alex at rtfs.hu
Sun Mar 4 15:01:31 CET 2007


Hi,

-    buffer +=8+8+4+4+4+4+4+4+4+4;
+    buffer += 8+8;
+    bitrate = AV_RL32(buffer);
+    buffer += 4+4+4+4+4+4+4+4;
     this_stream_num=AV_RL16(buffer);buffer+=2;

What about += 8*4 here? Much cleaner, while it is still recognisable
that 8 32bit fields are skipped.

--
Alex Beregszaszi




More information about the MPlayer-dev-eng mailing list