Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
dav1d
Commits
3eff6189
Commit
3eff6189
authored
Oct 21, 2018
by
Ronald S. Bultje
Browse files
Fill refpoc even if use_ref_frame_mvs=0.
Fixes
#60
.
parent
dcdb50b8
Pipeline
#1177
passed with stage
in 2 minutes
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/decode.c
View file @
3eff6189
...
...
@@ -2929,10 +2929,11 @@ int dav1d_submit_frame(Dav1dContext *const c) {
f
->
mvs_ref
=
dav1d_ref_create
(
f
->
sb128h
*
32
*
f
->
b4_stride
*
sizeof
(
*
f
->
mvs
));
f
->
mvs
=
f
->
mvs_ref
->
data
;
for
(
int
i
=
0
;
i
<
7
;
i
++
)
f
->
refpoc
[
i
]
=
f
->
refp
[
i
].
p
.
poc
;
if
(
f
->
frame_hdr
.
use_ref_frame_mvs
)
{
for
(
int
i
=
0
;
i
<
7
;
i
++
)
{
const
int
refidx
=
f
->
frame_hdr
.
refidx
[
i
];
f
->
refpoc
[
i
]
=
f
->
refp
[
i
].
p
.
poc
;
if
(
c
->
refs
[
refidx
].
refmvs
!=
NULL
&&
f
->
refp
[
i
].
p
.
p
.
w
==
f
->
cur
.
p
.
p
.
w
&&
f
->
refp
[
i
].
p
.
p
.
h
==
f
->
cur
.
p
.
p
.
h
)
...
...
Write
Preview
Supports
Markdown
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