Declaring the main method as "int main(void)" causes issues with SDL. Fixes #1209 <https://github.com/Genymobile/scrcpy/issues/1209>
Add a circular buffer implementation, to factorize multiple specific queues implementation.