diff options
author | James Almer <jamrial@gmail.com> | 2023-02-17 15:41:56 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2023-02-19 18:28:45 -0300 |
commit | 223c70cf1d8b816b59dede36a21492d7e8542e06 (patch) | |
tree | 502f2b615117512d7d6347572d826fb4cc7d20a5 /libswresample/x86 | |
parent | 1d14959f12ffd720377684af830a51d0cdb2aa8c (diff) | |
download | ffmpeg-223c70cf1d8b816b59dede36a21492d7e8542e06.tar.gz |
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>
Diffstat (limited to 'libswresample/x86')
-rw-r--r-- | libswresample/x86/rematrix_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswresample/x86/rematrix_init.c b/libswresample/x86/rematrix_init.c index b6ed38bf67..ce794eef90 100644 --- a/libswresample/x86/rematrix_init.c +++ b/libswresample/x86/rematrix_init.c @@ -33,7 +33,7 @@ D(int16, sse2) av_cold int swri_rematrix_init_x86(struct SwrContext *s){ #if HAVE_X86ASM int mm_flags = av_get_cpu_flags(); - int nb_in = s->used_ch_count; + int nb_in = s->used_ch_layout.nb_channels; int nb_out = s->out.ch_count; int num = nb_in * nb_out; int i,j; |