avcodec/libutvideodec: print extradata size if unsupported
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 19 Oct 2014 12:33:20 +0000 (14:33 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 21 Oct 2014 01:05:49 +0000 (03:05 +0200)
Reviewed-by: Benoit Fouet <benoit.fouet@free.fr>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/libutvideodec.cpp

index 60dbd15fa8817ff154eaaa266aa0a0eab3de0d95..36dc9524fc4e3e32ad5e80d37fffd3d44b1eaf21 100644 (file)
@@ -40,7 +40,7 @@ static av_cold int utvideo_decode_init(AVCodecContext *avctx)
     int begin_ret;
 
     if (avctx->extradata_size != 4*4) {
-        av_log(avctx, AV_LOG_ERROR, "Extradata size mismatch.\n");
+        av_log(avctx, AV_LOG_ERROR, "Extradata size (%d) mismatch.\n", avctx->extradata_size);
         return -1;
     }