Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
68dc8e75
Commit
68dc8e75
authored
Nov 02, 2016
by
François Cartegnie
🤞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
packetizer: hevc: check pps heterogenous tiling sizes loop (fix #17591)
parent
28c0aa81
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
modules/packetizer/hevc_nal.c
modules/packetizer/hevc_nal.c
+3
-0
No files found.
modules/packetizer/hevc_nal.c
View file @
68dc8e75
...
...
@@ -939,6 +939,9 @@ static bool hevc_parse_pic_parameter_set_rbsp( bs_t *p_bs,
p_pps
->
uniform_spacing_flag
=
bs_read1
(
p_bs
);
if
(
!
p_pps
->
uniform_spacing_flag
)
{
if
(
bs_remain
(
p_bs
)
<
(
uint64_t
)
p_pps
->
num_tile_columns_minus1
+
p_pps
->
num_tile_rows_minus1
+
1
)
return
false
;
for
(
unsigned
i
=
0
;
i
<
p_pps
->
num_tile_columns_minus1
;
i
++
)
(
void
)
bs_read_ue
(
p_bs
);
for
(
unsigned
i
=
0
;
i
<
p_pps
->
num_tile_rows_minus1
;
i
++
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment