#define AAC_AFH_ERRORS \
PARA_ERROR(AAC_REPOS, "aac repositioning error"), \
PARA_ERROR(AAC_READ, "aac read error"), \
+ PARA_ERROR(STSZ, "did not find stcz atom"), \
+ PARA_ERROR(MP4ASC, "audio spec config error"), \
#define AAC_COMMON_ERRORS \
- PARA_ERROR(AAC_OPEN, "NeAACDecOpen() failed"), \
PARA_ERROR(AAC_BUF, "invalid buffer"), \
+ PARA_ERROR(ESDS, "did not find esds atom"), \
+ PARA_ERROR(STCO, "did not find stco atom"), \
+
#define OGG_ERRORS \
PARA_ERROR(OGG_READ, "ogg read error"), \
#define AACDEC_ERRORS \
PARA_ERROR(AACDEC_INIT, "failed to init aac decoder"), \
- PARA_ERROR(ESDS, "did not find esds atom"), \
- PARA_ERROR(STSZ, "did not find stsz atom"), \
- PARA_ERROR(STCO, "did not find stco atom"), \
PARA_ERROR(AAC_DECODE, "aac decode error"), \
/* these do not need error handling (yet) */