From 32cecc2eacede21d268fa4303f4ee197c5843be7 Mon Sep 17 00:00:00 2001 From: Brick <6098371+0x1F9F1@users.noreply.github.com> Date: Sat, 12 Aug 2023 18:40:56 +0100 Subject: [PATCH] Fixed assertion in audio_convertAudio --- test/testautomation_audio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testautomation_audio.c b/test/testautomation_audio.c index d7a7c65982..11aff9a7d4 100644 --- a/test/testautomation_audio.c +++ b/test/testautomation_audio.c @@ -703,7 +703,7 @@ static int audio_convertAudio(void *arg) src_len = l * src_samplesize; SDLTest_Log("Creating dummy sample buffer of %i length (%i bytes)", l, src_len); src_buf = (Uint8 *)SDL_malloc(src_len); - SDLTest_AssertCheck(dst_buf != NULL, "Check src data buffer to convert is not NULL"); + SDLTest_AssertCheck(src_buf != NULL, "Check src data buffer to convert is not NULL"); if (src_buf == NULL) { return TEST_ABORTED; }