aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/pcm.c
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2007-05-10 15:00:09 +0000
committerRamiro Polla <ramiro.polla@gmail.com>2007-05-10 15:00:09 +0000
commitdccabd4c6897a0b8399fbd03b5edf292dc10f706 (patch)
treea6901bacee4fe72d9b732760dbd7864f27d732eb /libavcodec/pcm.c
parent7a0daaf18a5975c9dc66e897290291325b1a4043 (diff)
downloadffmpeg-dccabd4c6897a0b8399fbd03b5edf292dc10f706.tar.gz
Fix r8963
Originally committed as revision 8979 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/pcm.c')
-rw-r--r--libavcodec/pcm.c4
1 files 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;