mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-29 06:20:29 +00:00
escape130: make sure cliping is done on signed values.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
4f79c7dd08
commit
8ff3d1ccec
@ -225,7 +225,7 @@ static int escape130_decode_frame(AVCodecContext *avctx,
|
||||
{-1, 1, -1, -1},
|
||||
{1, -1, -1, -1} };
|
||||
for (i = 0; i < 4; i++) {
|
||||
y[i] = av_clip(y_base + offset_table[difference_selector] *
|
||||
y[i] = av_clip((int)y_base + offset_table[difference_selector] *
|
||||
sign_table[sign_selector][i], 0, 63);
|
||||
}
|
||||
} else if (get_bits1(&gb)) {
|
||||
|
Loading…
Reference in New Issue
Block a user