changeset 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 4be3d4a1c94b
children 9fce88cf7f94
files h264.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);
         }
     }