[FFmpeg-devel] [PATCH 1/2] avcodec/libutvideodec: print extradata size if unsupported

Michael Niedermayer michaelni at gmx.at
Sun Oct 19 14:52:16 CEST 2014


Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
 libavcodec/libutvideodec.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/libutvideodec.cpp b/libavcodec/libutvideodec.cpp
index 60dbd15..36dc952 100644
--- a/libavcodec/libutvideodec.cpp
+++ b/libavcodec/libutvideodec.cpp
@@ -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;
     }
 
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list