Browse Source

h264_parser: print AU size on error.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer 13 years ago
parent
commit
360a3d8991
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libavcodec/h264_parser.c

+ 1 - 1
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;
 }