From 117366df9ae870eb36cbc145857404adfbec8961 Mon Sep 17 00:00:00 2001 From: David Reid Date: Thu, 12 Mar 2026 06:24:04 +1000 Subject: [PATCH] Fix an incorrect check for the decoding seek callback. --- miniaudio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miniaudio.h b/miniaudio.h index 0fd5c51c..f84e1298 100644 --- a/miniaudio.h +++ b/miniaudio.h @@ -62865,7 +62865,7 @@ static ma_result ma_decoder_seek_bytes(ma_decoder* pDecoder, ma_int64 byteOffset { MA_ASSERT(pDecoder != NULL); - if (pDecoder->onSeek != NULL) { + if (pDecoder->onSeek == NULL) { return MA_NOT_IMPLEMENTED; }