From 7d6c264e022758b0c0e6958c466c02812b132683 Mon Sep 17 00:00:00 2001 From: Umair Khan Date: Sun, 6 Mar 2016 03:06:18 +0530 Subject: avcodec/alsdec: treat quant_cof as a signed value Signed-off-by: Umair Khan Reviewed-by: Paul B Mahol Signed-off-by: Michael Niedermayer --- libavcodec/alsdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/alsdec.c') 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; } -- cgit v1.2.3