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

Zuxy Meng zuxy.meng at gmail.com
Sun Mar 4 15:05:40 CET 2007


Hi,

2007/3/4, Alex Beregszaszi <alex at rtfs.hu>:
> 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.

Surely OK. I was just too lazy to change the old way....

-- 
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6



More information about the MPlayer-dev-eng mailing list