From: Ramiro Polla Date: Thu, 10 May 2007 15:00:09 +0000 (+0000) Subject: Fix r8963 X-Git-Tag: v0.5~9038 X-Git-Url: https://git.videolan.org/?p=ffmpeg.git;a=commitdiff_plain;h=dccabd4c6897a0b8399fbd03b5edf292dc10f706;ds=sidebyside Fix r8963 Originally committed as revision 8979 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavcodec/pcm.c b/libavcodec/pcm.c index 2551d12b65..c1eee1bf36 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;