[FFmpeg-devel] [PATCH] vp56.h: change a div to a shift

Ronald S. Bultje rsbultje
Tue Jun 22 17:32:05 CEST 2010


Hi,

as per $attached, all variables are always >= 0 (and c->high is
>=128), but c->high is defined as int so the compiler wouldn't know
this by itself. This patch helps it along a bit, changing a / 256 to a
>> 8.

Ronald
-------------- next part --------------
A non-text attachment was scrubbed...
Name: change_div_to_shift.patch
Type: application/octet-stream
Size: 544 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100622/c79ea040/attachment.obj>



More information about the ffmpeg-devel mailing list