diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2007-05-10 15:00:09 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2007-05-10 15:00:09 +0000 |
commit | dccabd4c6897a0b8399fbd03b5edf292dc10f706 (patch) | |
tree | a6901bacee4fe72d9b732760dbd7864f27d732eb /libavcodec/pcm.c | |
parent | 7a0daaf18a5975c9dc66e897290291325b1a4043 (diff) | |
download | ffmpeg-streaming-dccabd4c6897a0b8399fbd03b5edf292dc10f706.zip ffmpeg-streaming-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/pcm.c b/libavcodec/pcm.c index 2551d12..c1eee1b 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; |