Revision f66e4f5f libavcodec/vmdav.c

View differences:

libavcodec/vmdav.c
462 462
            s->predictors[chan] -= vmdaudio_table[buf[i] & 0x7F];
463 463
        else
464 464
            s->predictors[chan] += vmdaudio_table[buf[i]];
465
        s->predictors[chan] = clip(s->predictors[chan], -32768, 32767);
465
        s->predictors[chan] = av_clip(s->predictors[chan], -32768, 32767);
466 466
        out[i] = s->predictors[chan];
467 467
        chan ^= stereo;
468 468
    }

Also available in: Unified diff