[SCM] libav/experimental: Revert r8979 (Ugly fix for r8963)

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:59:46 UTC 2013


The following commit has been merged in the experimental branch:
commit b3a257af27f22295ba201fa3518c9a8708d6ac0b
Author: Ramiro Polla <ramiro.polla at gmail.com>
Date:   Thu May 10 18:44:58 2007 +0000

    Revert r8979 (Ugly fix for r8963)
    
    Originally committed as revision 8983 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/pcm.c b/libavcodec/pcm.c
index c1eee1b..2551d12 100644
--- a/libavcodec/pcm.c
+++ b/libavcodec/pcm.c
@@ -177,8 +177,8 @@ static inline void encode_from16(int bps, int le, int us,
     for(;n>0;n--) {
         register int v = *(*samples)++;
         v += usum;
-        if (le) {AV_WL16(*dst, v);}
-        else    {AV_WB16(*dst, v);}
+        if (le) AV_WL16(*dst, v);
+        else    AV_WB16(*dst, v);
         *dst += bps;
     }
     if (le) *dst -= bps - 2;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list