Commit f72676e6 authored by ramiro's avatar ramiro

Fix r8963

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@8979 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 062fb15c
...@@ -177,8 +177,8 @@ static inline void encode_from16(int bps, int le, int us, ...@@ -177,8 +177,8 @@ static inline void encode_from16(int bps, int le, int us,
for(;n>0;n--) { for(;n>0;n--) {
register int v = *(*samples)++; register int v = *(*samples)++;
v += usum; v += usum;
if (le) AV_WL16(*dst, v); if (le) {AV_WL16(*dst, v);}
else AV_WB16(*dst, v); else {AV_WB16(*dst, v);}
*dst += bps; *dst += bps;
} }
if (le) *dst -= bps - 2; if (le) *dst -= bps - 2;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment