include avcodec.h
compile plugin
ffmpeg's avcodec.h has it's own stdint.h with similar microsoft header but the
guard is "#ifndef _MSC_STDINT_H_"
The visual studio and Firebreath stdint.h and fb_stdint.h use "#ifndef _STDINT"
This cause multiple redefinition errors and breaks the build.
FB_stdint.h was added in FB-1.4.
The only workaround i could find was to wrap the fb_stdint.h guard in the
libavcodec guard.
Modifing fb_stdint.h :
....
#ifndef _MSC_STDINT_H_
#define _MSC_STDINT_H_
#ifndef _STDINT
#define _STDINT
...
#endif // _STDINT
#endif // _MSC_STDINT_H_
#endif // FB_WIN
Original issue reported on code.google.com by jshana...@gmail.com on 13 Feb 2011 at 6:09
Original issue reported on code.google.com by
jshana...@gmail.com
on 13 Feb 2011 at 6:09