mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02: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.
|
* out may be equal in.
|
||||||
|
Loading…
Reference in New Issue
Block a user