Commit 2306ec6b authored by dionoea's avatar dionoea
Browse files

Fix segfault in transcode (audio).

parent 2085fb08
......@@ -1217,7 +1217,7 @@ static int transcode_audio_new( sout_stream_t *p_stream,
/* Init filter chain */
id->p_f_chain = filter_chain_New( p_stream, "audio filter2", false,
transcode_audio_filter_allocation_init, NULL, NULL );
filter_chain_Reset( id->p_uf_chain, &fmt_last, &id->p_encoder->fmt_in );
filter_chain_Reset( id->p_f_chain, &fmt_last, &id->p_encoder->fmt_in );
/* Load conversion filters */
if( fmt_last.audio.i_channels != id->p_encoder->fmt_in.audio.i_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