mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-01-31 19:44:31 +01:00
Write the file trailer only if the file header have been written, to avoid a segfault in libav. Fixes <https://github.com/Genymobile/scrcpy/issues/918>.