[FFmpeg-devel] [PATCH] strange clipping...
Aurelien Jacobs
aurel
Sun Aug 12 01:46:18 CEST 2007
Hi,
In mace.c, there are several places where a clipping is applied.
It's almost a clipping to int16, except that values < -32768 are
clipped to -32767. To me this looks like a mistake, and I
suppose it should be clipped to -32768.
If someone can confirm my intuition, I will commit attached patch
to replace those custom clipping with av_clip_int16().
Aurel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clip_strange.diff
Type: text/x-diff
Size: 1155 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070812/762ec798/attachment.diff>
More information about the ffmpeg-devel
mailing list