[FFmpeg-devel] [PATCH] avcodec/alsdec: treat quant_cof as a signed value
Umair Khan
omerjerk at gmail.com
Sat Mar 5 22:36:18 CET 2016
Signed-off-by: Umair Khan <omerjerk at gmail.com>
---
libavcodec/alsdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/alsdec.c b/libavcodec/alsdec.c
index ebd364e..0043512 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;
}
--
2.5.0
More information about the ffmpeg-devel
mailing list