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
9abc8747
Commit
9abc8747
authored
Nov 21, 2018
by
Janne Grunau
Browse files
film_grain: fix build when bit depths are disabled
parent
12e0c905
Pipeline
#2842
passed with stages
in 5 minutes and 56 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/lib.c
View file @
9abc8747
...
...
@@ -192,12 +192,16 @@ static int output_image(Dav1dContext *const c, Dav1dPicture *const out,
return
res
;
switch
(
out
->
p
.
bpc
)
{
#if CONFIG_8BPC
case
8
:
dav1d_apply_grain_8bpc
(
out
,
in
);
break
;
#endif
#if CONFIG_10BPC
case
10
:
dav1d_apply_grain_10bpc
(
out
,
in
);
break
;
#endif
default:
assert
(
!
"apply_grain: missing bit depth"
);
}
...
...
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