GNOME Bugzilla – Bug 450598
Need to update faad2 include file name and function names in source code
Last modified: 2010-03-15 19:24:07 UTC
gst-plugin-bad fails to build because changes in faad2 API are being enforced on some distros. As a result, certain functions have gone missing. Specifically: /* MACROS FOR BACKWARDS COMPATIBILITY */ /* structs */ #define faacDecHandle NeAACDecHandle #define faacDecConfiguration NeAACDecConfiguration #define faacDecConfigurationPtr NeAACDecConfigurationPtr #define faacDecFrameInfo NeAACDecFrameInfo /* functions */ #define faacDecGetErrorMessage NeAACDecGetErrorMessage #define faacDecSetConfiguration NeAACDecSetConfiguration #define faacDecGetCurrentConfiguration NeAACDecGetCurrentConfiguration #define faacDecInit NeAACDecInit #define faacDecInit2 NeAACDecInit2 #define faacDecInitDRM NeAACDecInitDRM #define faacDecPostSeekReset NeAACDecPostSeekReset #define faacDecOpen NeAACDecOpen #define faacDecClose NeAACDecClose #define faacDecDecode NeAACDecDecode #define AudioSpecificConfig NeAACDecAudioSpecificConfig For faad2-2.5-2 [faac-1.25-2] on a Fedora system, the header file faad.h contains only a warning and another include file: /* warn people for update */ #pragma message("please update faad2 include filename and function names!") /* Backwards compatible link */ #include "neaacdec.h" The current FC7 version of neaacdec.h does *not* contain the macros listed above. Adding these definitions allows gst-plugins-bad to build. -Joseph
this is a very old bug, is this still valid?
Let's assume this is OBSOLETE by now. If it's not, please either reopen or maybe better: file a new bug. TIA!