summaryrefslogtreecommitdiff
path: root/libavcodec/h264_parser.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-10-03 20:40:17 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-10-03 23:43:22 +0200
commit360a3d89918d21f7f0c87a2485a84a988060ec6c (patch)
tree27327ac6b1100ac5d6456f43723c0a1e0418520e /libavcodec/h264_parser.c
parentd5c0e89e7a5e5a2502cbbd429f3c8cbc2c4d2313 (diff)
h264_parser: print AU size on error.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264_parser.c')
-rw-r--r--libavcodec/h264_parser.c2
1 files changed, 1 insertions, 1 deletions
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;
}