mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-26 17:32:06 +00:00
swr: add reversefill_audiodata()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
5027e3daf7
commit
75e25f8540
@ -384,6 +384,16 @@ static void fill_audiodata(AudioData *out, uint8_t *in_arg [SWR_CH_MAX]){
|
||||
}
|
||||
}
|
||||
|
||||
static void reversefill_audiodata(AudioData *out, uint8_t *in_arg [SWR_CH_MAX]){
|
||||
int i;
|
||||
if(out->planar){
|
||||
for(i=0; i<out->ch_count; i++)
|
||||
in_arg[i]= out->ch[i];
|
||||
}else{
|
||||
in_arg[0]= out->ch[0];
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* out may be equal in.
|
||||
|
Loading…
Reference in New Issue
Block a user