int index;
int index, status = 0;
static int advanced_decode_picture_secondary_header(VC9Context *v){    GetBitContext *gb = &v->s.gb;    int index;    switch(v->s.pict_type)    {    case P_TYPE: if (decode_p_picture_secondary_header(v) < 0) return -1;    case B_TYPE: if (decode_b_picture_secondary_header(v) < 0) return FRAME_SKIPED;    default: break;    }    /* AC Syntax */    v->ac_table_level = decode012(gb);    if (v->s.pict_type == I_TYPE || v->s.pict_type == BI_TYPE)    {        v->ac2_table_level = decode012(gb);    }    /* DC Syntax */    index = decode012(gb);    v->luma_dc_vlc = &ff_msmp4_dc_luma_vlc[index];    v->chroma_dc_vlc = &ff_msmp4_dc_chroma_vlc[index];    return 0;}