mirror of
https://github.com/videolan/vlc.git
synced 2024-12-01 13:55:14 +08:00
Fixed reverse stereo mode (close #3755).
This commit is contained in:
parent
a8f019f230
commit
5897814445
@ -161,10 +161,11 @@ static block_t *DoWork( filter_t * p_filter, block_t * p_in_buf )
|
||||
int i;
|
||||
for ( i = p_in_buf->i_nb_samples; i--; )
|
||||
{
|
||||
*p_dest = p_src[1];
|
||||
p_dest++;
|
||||
*p_dest = p_src[0];
|
||||
p_dest++;
|
||||
int32_t i_tmp = p_src[0];
|
||||
p_dest[0] = p_src[1];
|
||||
p_dest[1] = i_tmp;
|
||||
|
||||
p_dest += 2;
|
||||
p_src += 2;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user