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

Last part of the Speex/RTP patch - fixes #1291

parent feac01be
......@@ -86,7 +86,12 @@ static aout_input_t * DecNew( vlc_object_t * p_this, aout_instance_t * p_aout,
p_input->b_changed = 0;
p_input->b_error = 1;
aout_FormatPrepare( p_format );
if ( !p_format->i_bytes_per_frame )
aout_FormatPrepare( p_format );
else
p_format->i_frame_length = 1;
memcpy( &p_input->input, p_format,
sizeof(audio_sample_format_t) );
if( p_replay_gain )
......
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