pcm_convert: return NULL on failure

Changed "0" to "NULL".
This commit is contained in:
Max Kellermann 2009-03-14 14:36:44 +01:00
parent e5767d6da8
commit 8df0a29cbc

View File

@ -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;
}
}