I am not sure if I have a libfaad.c file, since ffmpeg came with the Mandriva 2008 distribution. May I still do that global replacement? Please excuse my ignorance.
Thanks. On Monday 29 October 2007 00:55:38 Phil Ehrens wrote: > Ah, actually, the problem is in ffmpeg. The latest release of > faad2 changed some symbol names, and ffmpeg hasn't figured this > out yet: > > > #if 1 > /* 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 > #endif > > The wrong symbols are used in the ffmpeg file libavcodec/libfaad.c, > but it is easy to fix by doing a global replacement: > > a/faacDec/NeAACDec/g > > At which point the segfaults go away.
signature.asc
Description: This is a digitally signed message part.