No aac-support with current faad2-library (fails to detect)

I was wondering why moc(2.5.0-a3) would only compile with faad2-2.0* but not with 2.6.

The configure script checks for the presence of the faacDecInit-Function - this function has been renamed in 2.6 to NeACCDecInit.

However, 2.6 is backwards compatible by providing access to the re-named function via #define-directives. These are not used in the test (as the header is not included).

I think there can be an easy solution to this and I'll try to create a patch - but maybe this is already known ?

I didn't know that, If you can make a pache, please do it :) I have only 2.0 in ma distro's package.

--
Damian Pietras - MOC developer

I committed a patch directly to the SVN (trunk). It adds a secondary check to the AAC/FAAD2 test for the new function.
A quick test showed no problems playing AAC with the newer libs -- the compiler complains a bit (warning) but I don't think there is a serious issue.

Works for me, thanks.

--
Damian Pietras - MOC developer