[FFmpeg-devel] [PATCH] strange clipping...

Michael Niedermayer michaelni
Mon Aug 13 14:07:20 CEST 2007


Hi

On Sun, Aug 12, 2007 at 01:46:18AM +0200, Aurelien Jacobs wrote:
> 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().

is there some mace spec or reference code we can check?

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Breaking DRM is a little like attempting to break through a door even
though the window is wide open and the only thing in the house is a bunch
of things you dont want and which you would get tomorrow for free anyway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070813/d2d26b6a/attachment.pgp>



More information about the ffmpeg-devel mailing list