diff options
author | James Almer <jamrial@gmail.com> | 2022-09-08 19:43:03 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2022-09-14 09:52:33 -0300 |
commit | 9903ba28c28ab18dc7b7b6fb8571cc8b5caae1a6 (patch) | |
tree | f4cb243ec5e54a0446ff8cf19ad7cf1d94d4b3f7 /libavcodec/sinewin_tablegen.h | |
parent | e402bd65b1be9125a85bc4f3d56aed214cbfce51 (diff) | |
download | ffmpeg-9903ba28c28ab18dc7b7b6fb8571cc8b5caae1a6.tar.gz |
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>
Diffstat (limited to 'libavcodec/sinewin_tablegen.h')
0 files changed, 0 insertions, 0 deletions