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

packetizer: hevc: fix max_num_reorder

parent f9984272
......@@ -1059,7 +1059,7 @@ bool hevc_get_picture_size( const hevc_sequence_parameter_set_t *p_sps,
uint8_t hevc_get_max_num_reorder( const hevc_video_parameter_set_t *p_vps )
{
return p_vps->vps_max[0/* base layer */].num_reorder_pics;
return p_vps->vps_max[p_vps->vps_max_sub_layers_minus1/* HighestTid */].num_reorder_pics;
}
static inline uint8_t vlc_ceil_log2( uint32_t val )
......
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