Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
dav1d
Commits
7b101d4f
Commit
7b101d4f
authored
Oct 24, 2018
by
Ronald S. Bultje
Browse files
Require refs and curpic to share the same chroma subsampling
Fixes #90.
parent
2982ef92
Pipeline
#1266
passed with stage
in 2 minutes and 25 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/decode.c
View file @
7b101d4f
...
...
@@ -2862,7 +2862,8 @@ int dav1d_submit_frame(Dav1dContext *const c) {
const
int
refidx
=
f
->
frame_hdr
.
refidx
[
i
];
if
(
!
c
->
refs
[
refidx
].
p
.
p
.
data
[
0
]
||
f
->
frame_hdr
.
width
!=
c
->
refs
[
refidx
].
p
.
p
.
p
.
w
||
f
->
frame_hdr
.
height
!=
c
->
refs
[
refidx
].
p
.
p
.
p
.
h
)
f
->
frame_hdr
.
height
!=
c
->
refs
[
refidx
].
p
.
p
.
p
.
h
||
f
->
seq_hdr
.
layout
!=
c
->
refs
[
refidx
].
p
.
p
.
p
.
layout
)
{
for
(
int
j
=
0
;
j
<
i
;
j
++
)
dav1d_thread_picture_unref
(
&
f
->
refp
[
j
]);
...
...
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