mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-27 01:42:20 +00:00
avcodec/wma: Print more details in case of spectral RLE overflows
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
4f664d8aae
commit
365ef88d5d
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user