Browse Source

packetizer: h264: skip all slice group ID's at once

(cherry picked from commit 1327a621fe)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3.0.x
Steve Lhomme 11 months ago
committed by Jean-Baptiste Kempf
parent
commit
64e7f15c69
  1. 6
      modules/packetizer/h264_nal.c

6
modules/packetizer/h264_nal.c

@ -586,10 +586,8 @@ static bool h264_parse_picture_parameter_set_rbsp( bs_t *p_bs,
0,1,2,2,3,3,3,3
};
unsigned sliceGroupSize = ceil_log2_table[num_slice_groups_minus1];
for( unsigned i = 0; i < pic_size_in_maps_units; i++ )
{
bs_skip( p_bs, sliceGroupSize );
}
// slice_group_id[]
bs_skip( p_bs, sliceGroupSize * pic_size_in_maps_units );
}
}

Loading…
Cancel
Save