From 2fb12e0fe01a213d3b0d3515a9ac8642f534e389 Mon Sep 17 00:00:00 2001 From: David Reid Date: Sat, 28 Oct 2017 13:31:41 +1000 Subject: [PATCH] Fix sample code in readme. --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 352ba678..cf0193e3 100644 --- a/README.md +++ b/README.md @@ -76,8 +76,9 @@ int main(int argc, char** argv) } mal_context context; - if (mal_context_init(NULL, 0, &context) != MAL_SUCCESS) { + if (mal_context_init(NULL, 0, NULL, &context) != MAL_SUCCESS) { printf("Failed to initialize context."); + drwav_uninit(&wav); return -3; }