瀏覽代碼

Fixed assertion in audio_convertAudio

Brick 2 年之前
父節點
當前提交
32cecc2eac
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test/testautomation_audio.c

+ 1 - 1
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;
                         }