Browse Source

Revert r8979 (Ugly fix for r8963)

Originally committed as revision 8983 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Ramiro Polla 18 years ago
parent
commit
b3a257af27
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavcodec/pcm.c

+ 2
- 2
libavcodec/pcm.c View File

@@ -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;


Loading…
Cancel
Save