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

ramiro subversion
Thu May 10 17:00:10 CEST 2007


Author: ramiro
Date: Thu May 10 17:00:09 2007
New Revision: 8979

Log:
Fix r8963

Modified:
   trunk/libavcodec/pcm.c

Modified: trunk/libavcodec/pcm.c
==============================================================================
--- trunk/libavcodec/pcm.c	(original)
+++ trunk/libavcodec/pcm.c	Thu May 10 17:00:09 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