summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2007-08-08 20:27:18 +0000
committerAlex Beregszaszi <alex@rtfs.hu>2007-08-08 20:27:18 +0000
commitec5dc2c1af47e6f19e2bc482b3a1be09ba9e31bb (patch)
tree714fc8ea3cc7665559bde9b8bd7d88d7cbd5f033 /libavcodec
parent3cf9ea7f48b72f24061f4ebbe4a4db83897168fd (diff)
debug: tell how much bits are skipped with unknown nal code
Originally committed as revision 9993 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/h264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index ea1be3cb10..1b07b3af49 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -7853,7 +7853,7 @@ static int decode_nal_units(H264Context *h, uint8_t *buf, int buf_size){
case NAL_AUXILIARY_SLICE:
break;
default:
- av_log(avctx, AV_LOG_ERROR, "Unknown NAL code: %d\n", h->nal_unit_type);
+ av_log(avctx, AV_LOG_ERROR, "Unknown NAL code: %d (%d bits)\n", h->nal_unit_type, bit_length);
}
}