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

Benoit Fouet benoit.fouet at free.fr
Sun Oct 19 20:21:34 CEST 2014


Hi,

On 19 October 2014 14:52:16 CEST, Michael Niedermayer <michaelni at gmx.at> wrote:
>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;
>     }
> 

LGTM

-- 
Ben


More information about the ffmpeg-devel mailing list