[FFmpeg-cvslog] r8983 - trunk/libavcodec/pcm.c

ramiro subversion
Thu May 10 20:44:58 CEST 2007


Author: ramiro
Date: Thu May 10 20:44:58 2007
New Revision: 8983

Log:
Revert r8979 (Ugly fix for r8963)

Modified:
   trunk/libavcodec/pcm.c

Modified: trunk/libavcodec/pcm.c
==============================================================================
--- trunk/libavcodec/pcm.c	(original)
+++ trunk/libavcodec/pcm.c	Thu May 10 20:44:58 2007
@@ -177,8 +177,8 @@ static inline void encode_from16(int bps
     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;




More information about the ffmpeg-cvslog mailing list