diff options
author | Umair Khan <omerjerk@gmail.com> | 2016-03-06 03:06:18 +0530 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-03-06 13:11:29 +0100 |
commit | 7d6c264e022758b0c0e6958c466c02812b132683 (patch) | |
tree | 79643d9598db22580c61675f798161357661fe6a | |
parent | 5f5e6033cd984eebc1facc777250d635b2da7196 (diff) | |
download | ffmpeg-7d6c264e022758b0c0e6958c466c02812b132683.tar.gz |
avcodec/alsdec: treat quant_cof as a signed value
Signed-off-by: Umair Khan <omerjerk@gmail.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libavcodec/alsdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/alsdec.c b/libavcodec/alsdec.c index ebd364e085..004351296b 100644 --- a/libavcodec/alsdec.c +++ b/libavcodec/alsdec.c @@ -729,7 +729,7 @@ static int read_var_block_data(ALSDecContext *ctx, ALSBlockData *bd) quant_cof[k] = decode_rice(gb, rice_param) + offset; if (quant_cof[k] < -64 || quant_cof[k] > 63) { av_log(avctx, AV_LOG_ERROR, - "quant_cof %"PRIu32" is out of range.\n", + "quant_cof %"PRId32" is out of range.\n", quant_cof[k]); return AVERROR_INVALIDDATA; } |