mirror of
https://git.videolan.org/git/ffmpeg.git
synced 2024-08-30 05:06:16 +02:00
svq3: fix cast type to be independant of "sizeof(int)"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
17d5746d96
commit
7dee5f04ac
@ -225,7 +225,7 @@ static inline int svq3_decode_block(GetBitContext *gb, DCTELEM *block,
|
|||||||
|
|
||||||
for (limit = (16 >> intra); index < 16; index = limit, limit += 8) {
|
for (limit = (16 >> intra); index < 16; index = limit, limit += 8) {
|
||||||
for (; (vlc = svq3_get_ue_golomb(gb)) != 0; index++) {
|
for (; (vlc = svq3_get_ue_golomb(gb)) != 0; index++) {
|
||||||
if ((int)vlc < 0)
|
if ((int32_t)vlc < 0)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
sign = (vlc & 1) ? 0 : -1;
|
sign = (vlc & 1) ? 0 : -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user