Commit fdb237f7 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Use id->p_decoder->fmt_out as input for id->p_encoder->fmt_in. Removes double...

Use id->p_decoder->fmt_out as input for id->p_encoder->fmt_in. Removes double initialisation of id->p_encoder->fmt_in (es_format_Init()).
parent a593a9cc
......@@ -1349,10 +1349,6 @@ static int transcode_audio_new( sout_stream_t *p_stream,
id->p_decoder->fmt_out.i_codec );
id->p_encoder->fmt_in.audio.i_format = id->p_decoder->fmt_out.i_codec;
/* Initialization of encoder format structures */
es_format_Init( &id->p_encoder->fmt_in, AUDIO_ES, VLC_FOURCC('f','l','3','2') );
id->p_encoder->fmt_in.audio.i_format = VLC_FOURCC('f','l','3','2');
id->p_encoder->fmt_in.audio.i_rate = id->p_encoder->fmt_out.audio.i_rate;
id->p_encoder->fmt_in.audio.i_physical_channels =
id->p_encoder->fmt_out.audio.i_physical_channels;
......
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