mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-07 04:53:15 -04:00
UI: Fix null pointer dereference
strcmp(obs_get_encoder_codec(option), "opus") causes the application to segfault while loading service if find_encoder(id) returns NULL. Add a null pointer check to prevent that from occurring.
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f