comparison adler32.c @ 741:63e3c82b92d9 libavutil

Fix cast of byte buffer to uint32 that was disregarding alignment requirements. Now calculates crc byte at a time until aligned, then continues with uint32 optimized calculation. This fixes crashes during mlp decoding on sparc (at least, maybe others).
author heydowns
date Fri, 12 Jun 2009 02:13:12 +0000
parents f23019f8fd69
children 4d9ad0ed07d0
comparison
equal deleted inserted replaced
740:ba8654776eab 741:63e3c82b92d9