Commit 6ce7b33f authored by Jean-Paul Saman's avatar Jean-Paul Saman

shine: cleanup

parent e55ef0eb
......@@ -181,13 +181,14 @@ buffered:
static block_t *EncodeFrame( encoder_t *p_enc, aout_buffer_t *p_block )
{
encoder_sys_t *p_sys = (encoder_sys_t *)p_enc->p_sys;
block_t *p_pcm_block;
block_t *p_chain = NULL;
unsigned int i_samples = p_block->i_nb_bytes >> 2 /* s16l stereo */;
mtime_t start_date = p_block->start_date;
start_date -= (mtime_t)i_samples * (mtime_t)1000000 / (mtime_t)p_enc->fmt_out.audio.i_rate;
VLC_UNUSED(p_enc);
do {
p_pcm_block = GetPCM( p_enc, p_block );
if( !p_pcm_block )
......
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