Commit b16b71dd authored by François Cartegnie's avatar François Cartegnie 🤞

hevc_nal: remove const

parent 8e814833
......@@ -270,7 +270,7 @@ static int32_t getFPS(demux_t *p_demux, uint8_t i_nal_type, block_t *p_block)
if( p_sps )
{
if( !hevc_get_frame_rate( p_sps, (const hevc_video_parameter_set_t **) p_sys->rgp_vps,
if( !hevc_get_frame_rate( p_sps, p_sys->rgp_vps,
&p_sys->frame_rate_num, &p_sys->frame_rate_den ) )
{
p_sys->frame_rate_num = 25;
......
......@@ -1012,7 +1012,7 @@ static bool hevc_get_picture_CtbsYsize( const hevc_sequence_parameter_set_t *p_s
}
bool hevc_get_frame_rate( const hevc_sequence_parameter_set_t *p_sps,
const hevc_video_parameter_set_t **pp_vps,
hevc_video_parameter_set_t **pp_vps,
unsigned *pi_num, unsigned *pi_den )
{
if( p_sps->vui_parameters_present_flag && p_sps->vui.vui_timing_info_present_flag )
......
......@@ -167,7 +167,7 @@ bool hevc_get_xps_id(const uint8_t *p_buf, size_t i_buf, uint8_t *pi_id);
bool hevc_get_picture_size( const hevc_sequence_parameter_set_t *, unsigned *p_w, unsigned *p_h,
unsigned *p_vw, unsigned *p_vh );
bool hevc_get_frame_rate( const hevc_sequence_parameter_set_t *,
const hevc_video_parameter_set_t ** /* HEVC_MAX_VPS || NULL */,
hevc_video_parameter_set_t ** /* HEVC_MAX_VPS || NULL */,
unsigned *pi_num, unsigned *pi_den );
bool hevc_get_slice_type( const hevc_slice_segment_header_t *, enum hevc_slice_type_e * );
......
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