avcodec/libspeexdec: more verbose error message
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 21 Nov 2014 19:08:56 +0000 (20:08 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 21 Nov 2014 19:08:56 +0000 (20:08 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/libspeexdec.c

index 1e4c05a..479c010 100644 (file)
@@ -59,7 +59,7 @@ static av_cold int libspeex_decode_init(AVCodecContext *avctx)
 
         quality = avctx->extradata[37];
         if (quality > 10) {
-            av_log(avctx, AV_LOG_ERROR, "Unsupported quality mode.\n");
+            av_log(avctx, AV_LOG_ERROR, "Unsupported quality mode %d.\n", quality);
             return AVERROR_PATCHWELCOME;
         }