avcodec/dsputil/huffyuv: move diff int16 and add int16 to dsputil
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 20 Jan 2014 02:50:43 +0000 (03:50 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 20 Jan 2014 03:06:04 +0000 (04:06 +0100)
commitda0684820a58ce42a5a2953cbce417e06a54be8f
treec2d468b28cc427bf5f37ab4074d028494ee4cdce
parentf29cdbe1b59a0d997733b507041e15ec68cef00c
avcodec/dsputil/huffyuv: move diff int16 and add int16 to dsputil

This also fixes masking the bits

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/dsputil.c
libavcodec/dsputil.h
libavcodec/huffyuvdec.c
libavcodec/huffyuvenc.c