diff h264.c @ 5508:07cd560e9a8c libavcodec

debug: tell how much bits are skipped with unknown nal code
author alex
date Wed, 08 Aug 2007 20:27:18 +0000
parents 4f2e3ef72b32
children 4c3b1222ff57
line wrap: on
line diff
--- a/h264.c	Wed Aug 08 07:04:23 2007 +0000
+++ b/h264.c	Wed Aug 08 20:27:18 2007 +0000
@@ -7853,7 +7853,7 @@
         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);
         }
     }