Browse Source

packetizer: h264: remove unused constraints helper

pull/171/head
François Cartegnie 1 year ago
committed by Steve Lhomme
parent
commit
a827651b67
  1. 7
      modules/packetizer/h264_nal.c
  2. 2
      modules/packetizer/h264_nal.h

7
modules/packetizer/h264_nal.c

@ -878,13 +878,6 @@ bool h264_get_sps_profile_tier_level( const h264_sequence_parameter_set_t *p_sps
return true;
}
bool h264_get_constraints_set( const h264_sequence_parameter_set_t *p_sps,
uint8_t *pi_constraints )
{
*pi_constraints = p_sps->i_constraint_set_flags;
return true;
}
bool h264_get_picture_size( const h264_sequence_parameter_set_t *p_sps,
unsigned *p_ox, unsigned *p_oy,
unsigned *p_w, unsigned *p_h,

2
modules/packetizer/h264_nal.h

@ -217,8 +217,6 @@ bool h264_using_adaptive_frames( const h264_sequence_parameter_set_t * );
bool h264_get_sps_profile_tier_level( const h264_sequence_parameter_set_t *,
uint8_t *pi_profile, uint8_t *pi_level );
bool h264_get_constraints_set( const h264_sequence_parameter_set_t *p_sps,
uint8_t *pi_constraints );
bool h264_get_picture_size( const h264_sequence_parameter_set_t *,
unsigned *p_ox, unsigned *p_oy,
unsigned *p_w, unsigned *p_h,

Loading…
Cancel
Save