Commit 365ef88d authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/wma: Print more details in case of spectral RLE overflows

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 4f664d8a
......@@ -487,7 +487,11 @@ int ff_wma_run_level_decode(AVCodecContext *avctx, GetBitContext *gb,
}
/** NOTE: EOB can be omitted */
if (offset > num_coefs) {
av_log(avctx, AV_LOG_ERROR, "overflow in spectral RLE, ignoring\n");
av_log(avctx, AV_LOG_ERROR,
"overflow (%d > %d) in spectral RLE, ignoring\n",
offset,
num_coefs
);
return -1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment