[FFmpeg-cvslog] avcodec/libutvideodec: print extradata size if unsupported

Michael Niedermayer git at videolan.org
Tue Oct 21 03:13:31 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Oct 19 14:33:20 2014 +0200| [832b4c0a86bc1c48ed4c49792032778ccf7580c1] | committer: Michael Niedermayer

avcodec/libutvideodec: print extradata size if unsupported

Reviewed-by: Benoit Fouet <benoit.fouet at free.fr>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=832b4c0a86bc1c48ed4c49792032778ccf7580c1
---

 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;
     }
 



More information about the ffmpeg-cvslog mailing list