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