[FFmpeg-devel] [PATCH] Replace CLAMP_TO_SHORT with av_clip in adpcm.c

Michael Niedermayer michaelni
Sat Aug 11 02:47:35 CEST 2007


Hi

On Sat, Aug 11, 2007 at 02:36:39AM +0200, Aurelien Jacobs wrote:
> Hi,
> 
> $subj
> This fixes issue84.

ok

> 
> Note that after this patch I intend to apply some simplifications
> in adpcm.c to avoid some useless intermediate assignement such as
> replacing:
>             s = av_clip(s, -32768, 32767);
>             *out = s;
> by
>             *out = av_clip(s, -32768, 32767);

ok

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

Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
-------------- 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/20070811/1c9ab034/attachment.pgp>



More information about the ffmpeg-devel mailing list