Skip to content
Snippets Groups Projects
Commit dccabd4c authored by Ramiro Polla's avatar Ramiro Polla
Browse files

Fix r8963

Originally committed as revision 8979 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 7a0daaf1
No related branches found
No related tags found
No related merge requests found
...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment