Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dav1d
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Konstantin Pavlov
dav1d
Commits
0bf59f09
Commit
0bf59f09
authored
Nov 13, 2018
by
Ronald S. Bultje
Committed by
Janne Grunau
Nov 14, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix segmentation map size check
Fixes
#166
.
parent
cf9ec49a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/decode.c
src/decode.c
+2
-2
No files found.
src/decode.c
View file @
0bf59f09
...
...
@@ -3093,8 +3093,8 @@ int dav1d_submit_frame(Dav1dContext *const c) {
if
(
f
->
frame_hdr
.
segmentation
.
temporal
||
!
f
->
frame_hdr
.
segmentation
.
update_map
)
{
const
int
pri_ref
=
f
->
frame_hdr
.
primary_ref_frame
;
assert
(
pri_ref
!=
PRIMARY_REF_NONE
);
const
int
ref_w
=
(
f
->
refp
[
pri_ref
].
p
.
p
.
w
+
3
)
>>
2
;
const
int
ref_h
=
(
f
->
refp
[
pri_ref
].
p
.
p
.
h
+
3
)
>>
2
;
const
int
ref_w
=
(
(
f
->
refp
[
pri_ref
].
p
.
p
.
w
+
7
)
>>
3
)
<<
1
;
const
int
ref_h
=
(
(
f
->
refp
[
pri_ref
].
p
.
p
.
h
+
7
)
>>
3
)
<<
1
;
if
(
ref_w
==
f
->
bw
&&
ref_h
==
f
->
bh
)
{
f
->
prev_segmap_ref
=
c
->
refs
[
f
->
frame_hdr
.
refidx
[
pri_ref
]].
segmap
;
if
(
f
->
prev_segmap_ref
==
NULL
)
{
...
...
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