Commit bdf3de90 authored by Damien Fouilleul's avatar Damien Fouilleul

vorbis.c: oops, I inverted channel order when encoding, should be fine now

parent 636b212b
...@@ -909,8 +909,8 @@ static block_t *Encode( encoder_t *p_enc, aout_buffer_t *p_aout_buf ) ...@@ -909,8 +909,8 @@ static block_t *Encode( encoder_t *p_enc, aout_buffer_t *p_aout_buf )
{ {
for( j = 0 ; j < p_aout_buf->i_nb_samples ; j++ ) for( j = 0 ; j < p_aout_buf->i_nb_samples ; j++ )
{ {
buffer[p_sys->pi_chan_table[i]][j]= ((float *)p_aout_buf->p_buffer) buffer[i][j]= ((float *)p_aout_buf->p_buffer)
[j * p_sys->i_channels + i ]; [j * p_sys->i_channels + p_sys->pi_chan_table[i]];
} }
} }
......
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