mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-16 03:50:05 +01:00
swresample/swresample: add a used channel layout option using the new API
Replaces the "used channel count" option, which is now deprecated. Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -492,7 +492,7 @@ av_cold static int auto_matrix(SwrContext *s)
|
||||
|
||||
av_cold int swri_rematrix_init(SwrContext *s){
|
||||
int i, j;
|
||||
int nb_in = s->used_ch_count;
|
||||
int nb_in = s->used_ch_layout.nb_channels;
|
||||
int nb_out = s->out.ch_count;
|
||||
|
||||
s->mix_any_f = NULL;
|
||||
|
||||
Reference in New Issue
Block a user