Cog/Plugins/minimp3/ThirdParty/CVbriHeader.h
Christopher Snowhill 7ff653b48f MP3: Replace MAD with minimp3
libMAD had memory safety issues, possibly with corrupt files. Hopefully,
this will fix the problem.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2025-03-23 00:05:11 -07:00

26 lines
528 B
C
Executable file

#ifndef _CVbriHeader_
#define _CVbriHeader_
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
struct VbriHeader;
int readVbriHeader(struct VbriHeader **, const unsigned char *Hbuffer, size_t length);
void freeVbriHeader(struct VbriHeader *);
// int VbriSeekPointByTime(float EntryTimeInSeconds);
// float VbriSeekTimeByPoint(unsigned int EntryPointInBytes);
// int VbriSeekPointByPercent(float percent);
// float VbriTotalDuration();
int VbriTotalFrames(struct VbriHeader *);
#ifdef __cplusplus
}
#endif
#endif