]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/alsdec.c
avcodec/alsdec: treat quant_cof as a signed value
[ffmpeg] / libavcodec / alsdec.c
index ebd364e0850aa1bc7cddf2732f6ff281fa3a5e50..004351296b01910cd2c1ddbb44bc50c1b6b357fb 100644 (file)
@@ -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;
                     }