Sylvain Becker
Sylvain Becker
yes, if i remember this was api 24. see https://developer.android.com/ndk/guides/stable_apis#camera SDL supports min 19. Probably will be bumped soon to min-sdk 21 soon (summer). But, as long as we linked...
since that works on macos, please, give a try on ios. I remember, there was something strange with the camera image format. the same "420v" apple format was YVYU on...
>> the same "420v" apple format was YVYU on macos (with an external camera), and NV12 on ipad > Ugh! (that may also be my mistake using the api) >...
there is `#if defined(SDL_PLATFORM_ANDROID) && __ANDROID_API__ >= 24` or _ANDROID_MIN_SDK_VERSION_ _The minSdkVersion of your application is made available to the preprocessor via the __ANDROID_MIN_SDK_VERSION__ macro (the legacy __ANDROID_API__ is identical,...
I've updated the testcase. I think there are potential overflow everywhere, in all SDL_rect.h functions, and probably more around. As soon as an operation is done with a big enough...
maybe more than 16 bits. A first generic constraint like 28 bits on each integer parameter would ok to protect additions from overflow. then, there would remain the usual w...
I'm not sure this is a good idea, because all additions can do an overflow. So each addition would have to be moved to a SDL_int_add_overflow(), with an appropriate error...
@leonstyhre I have disable the navigation bar feature in my side so I really don´t know what we should expect. because it shows and then disappears and was more a...
yes, with: `cmake -DCMAKE_C_FLAGS="-fsanitize=address -fsanitize=undefined" -DCMAKE_CXX_FLAGS="-fsanitize=address -fsanitize=undefined" ` here's a test-case: ``` SDL_Surface *s1, *s2; SDL_Rect r; s1 = SDL_CreateSurface(100, 100, SDL_PIXELFORMAT_XBGR8888); s2 = SDL_CreateSurface(100, 100, SDL_PIXELFORMAT_XBGR8888); r.x = 51;...
@ebarlas can you check, if it's using aaudio or opensles ? (put some trace in src/audio/aaudio or src/audio/opensles ) If it's aaudio, maybe this is a duplicate of https://github.com/libsdl-org/SDL/issues/4985 ?