Commit 8df0a29c authored by Max Kellermann's avatar Max Kellermann

pcm_convert: return NULL on failure

Changed "0" to "NULL".
parent e5767d6d
...@@ -186,6 +186,6 @@ pcm_convert(struct pcm_convert_state *state, ...@@ -186,6 +186,6 @@ pcm_convert(struct pcm_convert_state *state,
default: default:
g_error("cannot convert to %u bit\n", dest_format->bits); g_error("cannot convert to %u bit\n", dest_format->bits);
return 0; return NULL;
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment