mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-13 16:03:23 -05:00
Fix crash on connect with no plugins
This commit is contained in:
parent
a159058bf7
commit
86cc769b2d
@ -581,6 +581,9 @@ void plugin_event_dispatch(int event_id, int intval, void *vp, int len) {
|
||||
int plugin_ssc_can_transcode(char *codec) {
|
||||
int result;
|
||||
|
||||
if(!_plugin_ssc_codecs)
|
||||
return FALSE;
|
||||
|
||||
_plugin_readlock();
|
||||
result = FALSE;
|
||||
if(strstr(_plugin_ssc_codecs,codec)) {
|
||||
|
Loading…
Reference in New Issue
Block a user