Commit c8cbd922 authored by reimar's avatar reimar

10l, forgot to replace a / 256 for r14173.

Fixes MS ADPCM regression test.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14174 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent d1093fda
......@@ -732,7 +732,7 @@ static inline short adpcm_ms_expand_nibble(ADPCMChannelStatus *c, char nibble)
{
int predictor;
predictor = (((c->sample1) * (c->coeff1)) + ((c->sample2) * (c->coeff2))) / 256;
predictor = (((c->sample1) * (c->coeff1)) + ((c->sample2) * (c->coeff2))) / 64;
predictor += (signed)((nibble & 0x08)?(nibble - 0x10):(nibble)) * c->idelta;
c->sample2 = c->sample1;
......
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