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
e5baa042
Commit
e5baa042
authored
Oct 24, 2018
by
Ronald S. Bultje
Committed by
Janne Grunau
Oct 24, 2018
Browse files
Initialize restoration.type to RESTORATION_NONE for grayscale content
Fixes
#89
.
parent
1ccf6c1f
Pipeline
#1271
passed with stage
in 2 minutes and 16 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/obu.c
View file @
e5baa042
...
...
@@ -728,6 +728,9 @@ static int parse_frame_hdr(Dav1dContext *const c, GetBits *const gb,
if
(
seqhdr
->
layout
!=
DAV1D_PIXEL_LAYOUT_I400
)
{
hdr
->
restoration
.
type
[
1
]
=
dav1d_get_bits
(
gb
,
2
);
hdr
->
restoration
.
type
[
2
]
=
dav1d_get_bits
(
gb
,
2
);
}
else
{
hdr
->
restoration
.
type
[
1
]
=
hdr
->
restoration
.
type
[
2
]
=
RESTORATION_NONE
;
}
if
(
hdr
->
restoration
.
type
[
0
]
||
hdr
->
restoration
.
type
[
1
]
||
...
...
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