diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-12-11 10:22:01 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-12-11 12:50:34 +0100 |
commit | 7dee5f04acdbae8256982a94e61b78928805f224 (patch) | |
tree | 8e97e1ddb0d82b2b6b0da835a7a6e04118870c69 | |
parent | 17d5746d9672c6ed5a9fbd4bfac946e324f449ea (diff) | |
download | ffmpeg-7dee5f04acdbae8256982a94e61b78928805f224.tar.gz |
svq3: fix cast type to be independant of "sizeof(int)"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/svq3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c index 5a2fcff808..46561a3516 100644 --- a/libavcodec/svq3.c +++ b/libavcodec/svq3.c @@ -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 (; (vlc = svq3_get_ue_golomb(gb)) != 0; index++) { - if ((int)vlc < 0) + if ((int32_t)vlc < 0) return -1; sign = (vlc & 1) ? 0 : -1; |