Revision ab470fa7 libavcodec/h264.c

View differences:

libavcodec/h264.c
155 155
#define NAL_SEI			6
156 156
#define NAL_SPS			7
157 157
#define NAL_PPS			8
158
#define NAL_PICTURE_DELIMITER	9
159
#define NAL_FILTER_DATA		10
158
#define NAL_AUD                 9
159
#define NAL_END_SEQUENCE        10
160
#define NAL_END_STREAM          11
161
#define NAL_FILLER_DATA         12
162
#define NAL_SPS_EXT             13
163
#define NAL_AUXILIARY_SLICE     19
160 164
    uint8_t *rbsp_buffer;
161 165
    int rbsp_buffer_size;
162 166

  
......
7534 7538
            decode_picture_parameter_set(h, bit_length);
7535 7539

  
7536 7540
            break;
7537
        case NAL_PICTURE_DELIMITER:
7538
            break;
7539
        case NAL_FILTER_DATA:
7541
        case NAL_AUD:
7542
        case NAL_END_SEQUENCE:
7543
        case NAL_END_STREAM:
7544
        case NAL_FILLER_DATA:
7545
        case NAL_SPS_EXT:
7546
        case NAL_AUXILIARY_SLICE:
7540 7547
            break;
7541 7548
	default:
7542 7549
	    av_log(avctx, AV_LOG_ERROR, "Unknown NAL code: %d\n", h->nal_unit_type);

Also available in: Unified diff