Fix compile bugs, and avoid defining "LC" (from neaacdec.h) since that clashes with a Rivendell internal symbol.

This commit is contained in:
Chris Smowton
2014-12-21 21:13:29 +00:00
parent f63b14cca9
commit 988e9a73fe
6 changed files with 36 additions and 22 deletions

View File

@@ -25,13 +25,15 @@
#include <mp4v2/mp4v2.h>
#include <neaacdec.h>
// neaacdec.h defines "LC", as in "low-complexity AAC", which clashes with a Rivendell Command.
#undef LC
struct DLMP4 {
DLMP4() : loadSuccess(false) {}
void *conv_neaac_handle;
void *conv_mp4_handle;
void *neaac_handle;
void *mp4_handle;
bool loadSuccess;
// MP4v2 Functions