Commit d57688d9 authored by Thomas Guillem's avatar Thomas Guillem

transcode/audio: don't initialise dec->fmt_out

It's already done by transcode/transcode.c
parent 096500dd
......@@ -164,13 +164,6 @@ static int transcode_audio_new( sout_stream_t *p_stream,
*/
/* Initialization of decoder structures */
/* No need to clean the fmt_out, it was freshly initialized by
* es_format_Init in Add() */
es_format_Copy( &id->p_decoder->fmt_out, &id->p_decoder->fmt_in );
free( id->p_decoder->fmt_out.p_extra );
id->p_decoder->fmt_out.i_extra = 0;
id->p_decoder->fmt_out.p_extra = NULL;
id->p_decoder->pf_decode = NULL;
id->p_decoder->pf_queue_audio = decoder_queue_audio;
id->p_decoder->p_queue_ctx = id;
......
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