Commit e0c02b11 authored by alex's avatar alex

debug: tell how much bits are skipped with unknown nal code

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9993 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent fc692123
...@@ -7853,7 +7853,7 @@ static int decode_nal_units(H264Context *h, uint8_t *buf, int buf_size){ ...@@ -7853,7 +7853,7 @@ static int decode_nal_units(H264Context *h, uint8_t *buf, int buf_size){
case NAL_AUXILIARY_SLICE: case NAL_AUXILIARY_SLICE:
break; break;
default: 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);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment