mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-05-07 06:44:59 -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.