mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-25 17:02:22 -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.