aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-01-12 13:56:13 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-01-12 13:56:13 +0100
commit365ef88d5df4756942324b633cc439154e468276 (patch)
treeee34f41595d946e30b3729436f9896258505bcda
parent4f664d8aae8ccca33f39c2515484bd03e9d3f80d (diff)
downloadffmpeg-365ef88d5df4756942324b633cc439154e468276.tar.gz
avcodec/wma: Print more details in case of spectral RLE overflows
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/wma.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libavcodec/wma.c b/libavcodec/wma.c
index 841a2be087..fa5c887734 100644
--- a/libavcodec/wma.c
+++ b/libavcodec/wma.c
@@ -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;
}