Commit dcd87398 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

araw: fix U8 and S16N dummy encoding

parent 4c1beff0
......@@ -438,8 +438,8 @@ static int EncoderOpen( vlc_object_t *p_this )
{
case VLC_CODEC_S8:
encode = S8Decode;
p_enc->fmt_in.i_codec = VLC_CODEC_U8;
case VLC_CODEC_U8:
p_enc->fmt_in.i_codec = VLC_CODEC_U8;
p_enc->fmt_out.audio.i_bitspersample = 8;
break;
case VLC_CODEC_U16I:
......@@ -454,12 +454,10 @@ static int EncoderOpen( vlc_object_t *p_this )
break;
case VLC_CODEC_S16I:
encode = S16IDecode;
case VLC_CODEC_S16N:
p_enc->fmt_in.i_codec = VLC_CODEC_S16N;
p_enc->fmt_out.audio.i_bitspersample = 16;
break;
case VLC_CODEC_S16L:
p_enc->fmt_out.audio.i_bitspersample = 16;
break;
case VLC_CODEC_U24L:
case VLC_CODEC_U24B:
case VLC_CODEC_S24L:
......
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