[FFmpeg-cvslog] h264_parser: print AU size on error.
Michael Niedermayer
git at videolan.org
Mon Oct 3 23:45:40 CEST 2011
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Oct 3 20:40:17 2011 +0200| [360a3d89918d21f7f0c87a2485a84a988060ec6c] | committer: Michael Niedermayer
h264_parser: print AU size on error.
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=360a3d89918d21f7f0c87a2485a84a988060ec6c
---
libavcodec/h264_parser.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/h264_parser.c b/libavcodec/h264_parser.c
index 8020d29..962d351 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;
}
More information about the ffmpeg-cvslog
mailing list