Fix leaked OggVorbis_File handle when input is not vorbis. Also implements ma_libvorbis_get_length_in_pcm_frames() for the common case of an ogg file with a single bitstream.

This commit is contained in:
caturria
2025-04-26 11:33:03 -04:00
committed by David Reid
parent 853f27ed56
commit 1497f5e467
2 changed files with 22 additions and 10 deletions
@@ -11,7 +11,7 @@ decoding backend. See the custom_decoder example.
extern "C" {
#endif
#include "../../../miniaudio.h"
#include <miniaudio.h>
typedef struct
{