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

Aurelien Jacobs aurel
Sat Aug 11 02:36:39 CEST 2007


Hi,

$subj
This fixes issue84.

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);

Aurel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: adpcm_av_clip.diff
Type: text/x-diff
Size: 4907 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070811/b756ca5f/attachment.diff>



More information about the ffmpeg-devel mailing list