From dccabd4c6897a0b8399fbd03b5edf292dc10f706 Mon Sep 17 00:00:00 2001 From: Ramiro Polla Date: Thu, 10 May 2007 15:00:09 +0000 Subject: [PATCH] Fix r8963 Originally committed as revision 8979 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/pcm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;