[FFmpeg-cvslog] r13277 - trunk/libavcodec/ra144.c

Michael Niedermayer michaelni
Sat May 24 12:37:54 CEST 2008


On Sat, May 24, 2008 at 11:20:09AM +0200, vitor wrote:
> Author: vitor
> Date: Sat May 24 11:20:09 2008
> New Revision: 13277
> 
> Log:
> Simplify final()
[...]
> -        x = ptr[10] - sum;
[...]
>  
> -        if (x<-32768 || x>32767) {
> +        if (ptr[10] - sum < -32768 || ptr[10] - sum > 32767) {
[...]
> -        ptr[10] = x;
> +        ptr[10] -= sum;

I would not call that part simplification.


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

I have often repented speaking, but never of holding my tongue.
-- Xenocrates
-------------- 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-cvslog/attachments/20080524/05e4cbcc/attachment.pgp>



More information about the ffmpeg-cvslog mailing list