Ring buffer overflow in fb_sdl