mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 07:46:38 +00:00
codecparser: h265: Fix the number of tile rows/columns parsing
The possible minimum value for num_tile_columns_minus1 and num_tile_rows_minus1 is zero (7.4.3.3). https://bugzilla.gnome.org/show_bug.cgi?id=748641
This commit is contained in:
parent
b7ffc524cc
commit
8407622c93
1 changed files with 2 additions and 2 deletions
|
@ -1821,8 +1821,8 @@ gst_h265_parse_pps (GstH265Parser * parser, GstH265NalUnit * nalu,
|
|||
READ_UINT8 (&nr, pps->entropy_coding_sync_enabled_flag, 1);
|
||||
|
||||
if (pps->tiles_enabled_flag) {
|
||||
READ_UE_ALLOWED (&nr, pps->num_tile_columns_minus1, 1, 19);
|
||||
READ_UE_ALLOWED (&nr, pps->num_tile_rows_minus1, 1, 21);
|
||||
READ_UE_ALLOWED (&nr, pps->num_tile_columns_minus1, 0, 19);
|
||||
READ_UE_ALLOWED (&nr, pps->num_tile_rows_minus1, 0, 21);
|
||||
|
||||
READ_UINT8 (&nr, pps->uniform_spacing_flag, 1);
|
||||
if (!pps->uniform_spacing_flag) {
|
||||
|
|
Loading…
Reference in a new issue