comparison i386/dsputil_mmx_rnd.h @ 3146:dcae1bde37ac libavcodec

size[0-3] are not initialized (and can get random negative trash values), so the comparison with vs_total_ac_bits is messed up on the first couple loop iterations, leading to AC underflows. the b->prev[] pointers were not being maintained correctly. We potentially have to update b->prev[] both before and after the area whose VLC length is getting adjusted. this also might fix the ppc regression failure? patch by (Dan Maas <dmaas maasdigital com>)
author michael
date Sat, 25 Feb 2006 22:58:26 +0000
parents 0b546eab515d
children f7125bf10892
comparison
equal deleted inserted replaced
3145:ede5c3c0a0eb 3146:dcae1bde37ac