Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
7f141e7d
Commit
7f141e7d
authored
Jul 10, 2017
by
Steve Lhomme
Committed by
Jean-Baptiste Kempf
Jul 12, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
codec:aom: code cleaning
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
0330d89e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
modules/codec/aom.c
modules/codec/aom.c
+4
-8
No files found.
modules/codec/aom.c
View file @
7f141e7d
...
...
@@ -251,15 +251,11 @@ static int OpenDecoder(vlc_object_t *p_this)
const
aom_codec_iface_t
*
iface
;
int
av_version
;
switch
(
dec
->
fmt_in
.
i_codec
)
{
case
VLC_CODEC_AV1
:
iface
=
&
aom_codec_av1_dx_algo
;
av_version
=
1
;
break
;
default:
if
(
dec
->
fmt_in
.
i_codec
!=
VLC_CODEC_AV1
)
return
VLC_EGENERIC
;
}
iface
=
&
aom_codec_av1_dx_algo
;
av_version
=
1
;
decoder_sys_t
*
sys
=
malloc
(
sizeof
(
*
sys
));
if
(
!
sys
)
...
...
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