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
3a4ad146
Commit
3a4ad146
authored
Dec 14, 2017
by
François Cartegnie
🤞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
packetizer: hevc: fix poc lsb diff
parent
71318cd9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/packetizer/hevc_nal.c
modules/packetizer/hevc_nal.c
+1
-1
No files found.
modules/packetizer/hevc_nal.c
View file @
3a4ad146
...
...
@@ -1496,7 +1496,7 @@ int hevc_compute_picture_order_count( const hevc_sequence_parameter_set_t *p_sps
{
const
unsigned
maxPocLSB
=
1U
<<
(
p_sps
->
log2_max_pic_order_cnt_lsb_minus4
+
4
);
pocMSB
=
p_ctx
->
prevPicOrderCnt
.
msb
;
int64_t
orderDiff
=
p_slice
->
pic_order_cnt_lsb
-
p_ctx
->
prevPicOrderCnt
.
lsb
;
int64_t
orderDiff
=
(
int64_t
)
p_slice
->
pic_order_cnt_lsb
-
p_ctx
->
prevPicOrderCnt
.
lsb
;
if
(
orderDiff
<
0
&&
-
orderDiff
>=
maxPocLSB
/
2
)
pocMSB
+=
maxPocLSB
;
else
if
(
orderDiff
>
maxPocLSB
/
2
)
...
...
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