Check if an error is an expected FFmpeg teardown error that can be safely ignored during cleanup.
The error to check.
True if the error is an expected FFmpeg shutdown error.
Check if an error is an expected FFmpeg teardown error that can be safely ignored during cleanup.