From 360a3d89918d21f7f0c87a2485a84a988060ec6c Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 3 Oct 2011 20:40:17 +0200 Subject: [PATCH] h264_parser: print AU size on error. Signed-off-by: Michael Niedermayer --- libavcodec/h264_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/h264_parser.c b/libavcodec/h264_parser.c index 8020d298c4..962d351325 100644 --- a/libavcodec/h264_parser.c +++ b/libavcodec/h264_parser.c @@ -256,7 +256,7 @@ static inline int parse_nal_units(AVCodecParserContext *s, buf += consumed; } /* didn't find a picture! */ - av_log(h->s.avctx, AV_LOG_ERROR, "missing picture in access unit\n"); + av_log(h->s.avctx, AV_LOG_ERROR, "missing picture in access unit with size %d\n", buf_size); return -1; }