- /* Skip constraint_set0123, reserved(4), level(8) */
- bs_skip( &s, 1+1+1+1 + 4 + 8 );
+ p_dec->fmt_out.i_profile = i_profile_idc;
+ /* Skip constraint_set0123, reserved(4) */
+ bs_skip( &s, 1+1+1+1 + 4 );
+ p_dec->fmt_out.i_level = bs_read( &s, 8 );