Commit 7f141e7d authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

codec:aom: code cleaning

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 0330d89e
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment