Commit 856853ae authored by Rafaël Carré's avatar Rafaël Carré

Asserts the return value of pf_audio_filter()

parent 45213c5d
...@@ -1580,6 +1580,8 @@ static int transcode_audio_process( sout_stream_t *p_stream, ...@@ -1580,6 +1580,8 @@ static int transcode_audio_process( sout_stream_t *p_stream,
p_audio_block ); p_audio_block );
} }
assert( p_audio_block );
p_audio_buf->p_buffer = p_audio_block->p_buffer; p_audio_buf->p_buffer = p_audio_block->p_buffer;
p_audio_buf->i_nb_bytes = p_audio_block->i_buffer; p_audio_buf->i_nb_bytes = p_audio_block->i_buffer;
p_audio_buf->i_nb_samples = p_audio_block->i_samples; p_audio_buf->i_nb_samples = p_audio_block->i_samples;
......
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