Revert "Enforce a read callback to be specified for decoders."

This reverts commit 52d09d3688.
This commit is contained in:
David Reid
2026-03-13 11:22:40 +10:00
parent 117366df9a
commit 12bacf1186
-5
View File
@@ -66237,11 +66237,6 @@ static ma_result ma_decoder__preinit(ma_decoder_read_proc onRead, ma_decoder_see
MA_ZERO_OBJECT(pDecoder); MA_ZERO_OBJECT(pDecoder);
/* A read callback must be available. */
if (onRead == NULL) {
return MA_INVALID_ARGS;
}
dataSourceConfig = ma_data_source_config_init(); dataSourceConfig = ma_data_source_config_init();
dataSourceConfig.vtable = &g_ma_decoder_data_source_vtable; dataSourceConfig.vtable = &g_ma_decoder_data_source_vtable;