mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-02-02 04:24:26 +01:00
The extradata buffer is owned by libav, so it must be allocated with av_malloc(), not SDL_malloc(). This fixes a crash on Windows during avformat_free_context().