r r - 2010-09-29

Hi

Just tried to compile 676 from svn and got this error:

lib/Transcoding/FaadWrapper.cpp: In member function ‘virtual bool CFaadWrapper::LoadLib()’:
lib/Transcoding/FaadWrapper.cpp:416: error: ‘class CSharedConfig’ has no member named ‘Mp4ffLibName’
lib/Transcoding/FaadWrapper.cpp:417: error: ‘class CSharedConfig’ has no member named ‘Mp4ffLibName’
lib/Transcoding/FaadWrapper.cpp:420: warning: deprecated conversion from string constant to ‘char*’
lib/Transcoding/FaadWrapper.cpp: In member function ‘void CFaadWrapper::FillBuffer()’:
lib/Transcoding/FaadWrapper.cpp:563: warning: comparison between signed and unsigned integer expressions
lib/Transcoding/FaadWrapper.cpp: In member function ‘bool CFaadWrapper::InitAACDecoder()’:
lib/Transcoding/FaadWrapper.cpp:643: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘long unsigned int’
lib/Transcoding/FaadWrapper.cpp:647: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘long unsigned int’
lib/Transcoding/FaadWrapper.cpp: In member function ‘bool CFaadWrapper::InitMp4Decoder()’:
lib/Transcoding/FaadWrapper.cpp:722: warning: deprecated conversion from string constant to ‘char*’
lib/Transcoding/FaadWrapper.cpp:722: warning: deprecated conversion from string constant to ‘char*’
lib/Transcoding/FaadWrapper.cpp:722: warning: deprecated conversion from string constant to ‘char*’
lib/Transcoding/FaadWrapper.cpp:722: warning: deprecated conversion from string constant to ‘char*’
lib/Transcoding/FaadWrapper.cpp:722: warning: deprecated conversion from string constant to ‘char*’
lib/Transcoding/FaadWrapper.cpp:722: warning: deprecated conversion from string constant to ‘char*’
lib/Transcoding/FaadWrapper.cpp:732: warning: format ‘%d’ expects type ‘int’, but argument 6 has type ‘long unsigned int’
lib/Transcoding/FaadWrapper.cpp:735: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long int’
lib/Transcoding/FaadWrapper.cpp:720: warning: unused variable ‘tag’
lib/Transcoding/FaadWrapper.cpp:720: warning: unused variable ‘item’
lib/Transcoding/FaadWrapper.cpp:721: warning: unused variable ‘k’
lib/Transcoding/FaadWrapper.cpp:721: warning: unused variable ‘j’

I got the code to compile with this patch, although if your'e really using the faad library you're probably in for a crash.

http://dlna.exz.nu/fuppes-faad.patch