]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commit
Fix passing of unaligned addresses to dsputil diff_bytes() by
authorheydowns <heydowns@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sat, 23 May 2009 19:37:01 +0000 (19:37 +0000)
committerheydowns <heydowns@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sat, 23 May 2009 19:37:01 +0000 (19:37 +0000)
commitdb1bbfae71fedc6fc3882930e83ccd97bb2c3384
tree9d8e41960185a28920a25021699eae7ebcc2d1f1
parentaa34116e081dba4b52524283ad9c980349a469bd
Fix passing of unaligned addresses to dsputil diff_bytes() by
changeing calls to sub_left_prediction such that
the source frame data pointers are no longer offset to skip the initial
elements. This keeps them properly aligned for the subsequent call to diff_bytes.
Changes encoding offset to compensate.

Mailing list thread:
https://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2009-May/069952.html

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18919 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
libavcodec/huffyuv.c