Commit 3663d023 authored by Gildas Bazin's avatar Gildas Bazin

* src/audio_output/dec.c: revert changeset 22216 which doesn't make any sense whatsoever.

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