Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
3ed58545
Commit
3ed58545
authored
Nov 02, 2016
by
François Cartegnie
🤞
Browse files
packetizer: hevc: check short term ref pics loop
parent
9bad6dda
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/packetizer/hevc_nal.c
View file @
3ed58545
...
...
@@ -741,6 +741,8 @@ static bool hevc_parse_st_ref_pic_set( bs_t *p_bs, unsigned stRpsIdx,
{
nal_ue_t
num_negative_pics
=
bs_read_ue
(
p_bs
);
nal_ue_t
num_positive_pics
=
bs_read_ue
(
p_bs
);
if
(
bs_remain
(
p_bs
)
<
((
uint64_t
)
num_negative_pics
+
num_positive_pics
)
*
2
)
return
false
;
for
(
unsigned
int
i
=
0
;
i
<
num_negative_pics
;
i
++
)
{
(
void
)
bs_read_ue
(
p_bs
);
/* delta_poc_s0_minus1 */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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