changeset 10811:4b790cd2c245 libavcodec

Log unknown NAL code from correct context
author andoma
date Fri, 08 Jan 2010 15:50:26 +0000
parents 0f4dee00de1d
children 238c62c8728e
files h264.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/h264.c	Fri Jan 08 14:45:24 2010 +0000
+++ b/h264.c	Fri Jan 08 15:50:26 2010 +0000
@@ -7656,7 +7656,7 @@
         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) {