diff options
Diffstat (limited to 'libavcodec/8svx.c')
-rw-r--r-- | libavcodec/8svx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/8svx.c b/libavcodec/8svx.c index 1b03ba1d4e..c034dd6974 100644 --- a/libavcodec/8svx.c +++ b/libavcodec/8svx.c @@ -74,9 +74,9 @@ static int delta_decode(int8_t *dst, const uint8_t *src, int src_size, while (n--) { uint8_t d = *src++; - val = av_clip(val + table[d & 0x0f], -127, 128); + val = av_clip(val + table[d & 0x0f], -128, 127); *dst++ = val; - val = av_clip(val + table[d >> 4] , -127, 128); + val = av_clip(val + table[d >> 4] , -128, 127); *dst++ = val; } |