mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-03-19 15:07:16 -04:00
We were calling avio_close on a field that might have held an AVIOContext. This commit checks which type was allocated so we can call the appropriate cleanup function.