mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
Fix r8963
Originally committed as revision 8979 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
7a0daaf18a
commit
dccabd4c68
@ -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…
Reference in New Issue
Block a user