Mercurial > libavcodec.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
5507:4be3d4a1c94b | 5508:07cd560e9a8c |
---|---|
7851 case NAL_FILLER_DATA: | 7851 case NAL_FILLER_DATA: |
7852 case NAL_SPS_EXT: | 7852 case NAL_SPS_EXT: |
7853 case NAL_AUXILIARY_SLICE: | 7853 case NAL_AUXILIARY_SLICE: |
7854 break; | 7854 break; |
7855 default: | 7855 default: |
7856 av_log(avctx, AV_LOG_ERROR, "Unknown NAL code: %d\n", h->nal_unit_type); | 7856 av_log(avctx, AV_LOG_ERROR, "Unknown NAL code: %d (%d bits)\n", h->nal_unit_type, bit_length); |
7857 } | 7857 } |
7858 } | 7858 } |
7859 | 7859 |
7860 return buf_index; | 7860 return buf_index; |
7861 } | 7861 } |