Commit c3056361 authored by Felix Paul Kühne's avatar Felix Paul Kühne

H264 NAL helpers: expose profile compatibility byte

parent 098cd03c
......@@ -224,8 +224,7 @@ int h264_parse_sps( const uint8_t *p_sps_buf, int i_sps_size,
bs_init( &s, pb_dec, i_dec );
int i_profile_idc = bs_read( &s, 8 );
p_sps->i_profile = i_profile_idc;
/* Skip constraint_set0123, reserved(4) */
bs_skip( &s, 1+1+1+1 + 4 );
p_sps->i_profile_compatibility = bs_read( &s, 8 );
p_sps->i_level = bs_read( &s, 8 );
/* sps id */
p_sps->i_id = bs_read_ue( &s );
......
......@@ -74,7 +74,7 @@ enum sei_type_e
struct nal_sps
{
int i_id;
int i_profile, i_level;
int i_profile, i_profile_compatibility, i_level;
int i_width, i_height;
int i_log2_max_frame_num;
int b_frame_mbs_only;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment