comparison h264.c @ 10811:4b790cd2c245 libavcodec

Log unknown NAL code from correct context
author andoma
date Fri, 08 Jan 2010 15:50:26 +0000
parents dc61c373810e
children 59c35482189e
comparison
equal deleted inserted replaced
10810:0f4dee00de1d 10811:4b790cd2c245
7654 case NAL_FILLER_DATA: 7654 case NAL_FILLER_DATA:
7655 case NAL_SPS_EXT: 7655 case NAL_SPS_EXT:
7656 case NAL_AUXILIARY_SLICE: 7656 case NAL_AUXILIARY_SLICE:
7657 break; 7657 break;
7658 default: 7658 default:
7659 av_log(avctx, AV_LOG_DEBUG, "Unknown NAL code: %d (%d bits)\n", h->nal_unit_type, bit_length); 7659 av_log(avctx, AV_LOG_DEBUG, "Unknown NAL code: %d (%d bits)\n", hx->nal_unit_type, bit_length);
7660 } 7660 }
7661 7661
7662 if(context_count == h->max_contexts) { 7662 if(context_count == h->max_contexts) {
7663 execute_decode_slices(h, context_count); 7663 execute_decode_slices(h, context_count);
7664 context_count = 0; 7664 context_count = 0;