ffmpeg/libswresample
James Almer 9903ba28c2 swsresample/swresample: error out on invalid layouts
If it's unsupported or invalid, then there's no point trying to rebuild it
using a value that may have been derived from the same layout to begin with.

Move the checks before the attempts at copying the layout while at it.

Fixes ticket #9908.

Signed-off-by: James Almer <jamrial@gmail.com>
2022-09-14 09:52:33 -03:00
..
aarch64
arm
tests
x86
Makefile configure: always enable gnu_windres if available 2022-08-13 14:42:36 +02:00
audioconvert.c
audioconvert.h
dither.c
dither_template.c
libswresample.v
log2_tab.c
noise_shaping_data.c swresample/noise_shaping_data: Remove unused tables 2022-06-15 04:58:14 +02:00
options.c
rematrix.c
rematrix_template.c
resample.c
resample.h
resample_dsp.c
resample_template.c
soxr_resample.c
swresample.c swsresample/swresample: error out on invalid layouts 2022-09-14 09:52:33 -03:00
swresample.h lswr: take const AVChannelLayout* in swr_alloc_set_opts2() 2022-08-24 18:31:05 -05:00
swresample_frame.c
swresample_internal.h
swresampleres.rc
version.c
version.h lswr: take const AVChannelLayout* in swr_alloc_set_opts2() 2022-08-24 18:31:05 -05:00
version_major.h