pcm_convert: return NULL on failure
Changed "0" to "NULL".
This commit is contained in:
parent
e5767d6da8
commit
8df0a29cbc
@ -186,6 +186,6 @@ pcm_convert(struct pcm_convert_state *state,
|
||||
|
||||
default:
|
||||
g_error("cannot convert to %u bit\n", dest_format->bits);
|
||||
return 0;
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user