Hi, > Adopted all this and fixed a bug in temp buffer allocation. Originally I used the bitstream reader in the code (the comments you deleted Benjamin), but imho its an overkill and is faster without it. -- Alex Beregszaszi email: alex at fsn.hu Free Software Network cell: +36 70 3144424