Add some asserts; sws_getContext() will fail if the image width or height are 0.
authorCarl Hetherington <cth@carlh.net>
Thu, 1 Feb 2024 12:28:38 +0000 (13:28 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 3 Feb 2024 08:57:25 +0000 (09:57 +0100)
commit54ca161fd074a7ba17d9aed8479da189374eb64e
treeedf7aeb13c2fe0cb49b7e903ba0e62b8c8dde60b
parent9d1d1cea1cdf17b4cc2208800ca22288f979d3ec
Add some asserts; sws_getContext() will fail if the image width or height are 0.
src/lib/image.cc