All pastes #480910 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-05-10 14:21 UTC
rendered paste body
Index: libavcodec/pcm.c
===================================================================
--- libavcodec/pcm.c    (revision 8977)
+++ libavcodec/pcm.c    (working copy)
@@ -177,8 +177,8 @@
     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;