summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorAndreas Öman <andreas@lonelycoder.com>2010-01-08 15:50:26 +0000
committerAndreas Öman <andreas@lonelycoder.com>2010-01-08 15:50:26 +0000
commit4ad04da2142e6a38aebee0960152488f6820f440 (patch)
tree0e0ea63e363096bacdfe8c8c4dbf6371e3936a28 /libavcodec
parent2da16f288a4dfb0365e955c2e15caa3f1fbb99da (diff)
Log unknown NAL code from correct context
Originally committed as revision 21090 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 898c176d53..8f6670ce7c 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -7656,7 +7656,7 @@ static int decode_nal_units(H264Context *h, const uint8_t *buf, int buf_size){
case NAL_AUXILIARY_SLICE:
break;
default:
- av_log(avctx, AV_LOG_DEBUG, "Unknown NAL code: %d (%d bits)\n", h->nal_unit_type, bit_length);
+ av_log(avctx, AV_LOG_DEBUG, "Unknown NAL code: %d (%d bits)\n", hx->nal_unit_type, bit_length);
}
if(context_count == h->max_contexts) {