diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2007-05-10 18:44:58 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2007-05-10 18:44:58 +0000 |
commit | b3a257af27f22295ba201fa3518c9a8708d6ac0b (patch) | |
tree | e3bb959fcf529d576d3905d94f2af27afa3ab6b9 /libavcodec/pcm.c | |
parent | 803ca89ca162b3a45954acb9bfb9258d12370a83 (diff) | |
download | ffmpeg-streaming-b3a257af27f22295ba201fa3518c9a8708d6ac0b.zip ffmpeg-streaming-b3a257af27f22295ba201fa3518c9a8708d6ac0b.tar.gz |
Revert r8979 (Ugly fix for r8963)
Originally committed as revision 8983 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 c1eee1b..2551d12 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; |