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

Michael Niedermayer michaelni at gmx.at
Tue Oct 21 03:06:31 CEST 2014


On Sun, Oct 19, 2014 at 08:21:34PM +0200, Benoit Fouet wrote:
> 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

applied

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The educated differ from the uneducated as much as the living from the
dead. -- Aristotle 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141021/da2deed5/attachment.asc>


More information about the ffmpeg-devel mailing list