func: static int standard_decode_picture_secondary_header(VC9Context *v)
  
  {
  
      GetBitContext *gb = &v->s.gb;
  
      int status = 0, index;
  
  
  
      switch (v->s.pict_type)
  
      {
  
      case P_TYPE: status = decode_p_picture_secondary_header(v); break;
  
      case B_TYPE: status = decode_b_picture_secondary_header(v); break;
  
      case BI_TYPE:
  
      case I_TYPE: break; //Nothing needed as it's done in the epilog
  
      }
  
      if (status < 0) return FRAME_SKIPED;
  
  
  
      /* 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;
  
  }
  