Compilation moc-2.5.0alpha4: ffmpeg error

Hello !

With my Fedora 16 64bit the moc-2.5.0alpha4 compilation stops with some errors.

ffmpeg.c: In function ‘ffmpeg_info’:
ffmpeg.c:79:2: warning: ‘av_open_input_file’ is deprecated (declared at /usr/include/ffmpeg/libavformat/avformat.h:1090) [-Wdeprecated-declarations]
ffmpeg.c:89:9: error: ‘AVFormatContext’ has no member named ‘track’
ffmpeg.c:90:20: error: ‘AVFormatContext’ has no member named ‘track’
ffmpeg.c:91:9: error: ‘AVFormatContext’ has no member named ‘title’
ffmpeg.c:92:29: error: ‘AVFormatContext’ has no member named ‘title’
ffmpeg.c:93:9: error: ‘AVFormatContext’ has no member named ‘author’
ffmpeg.c:94:30: error: ‘AVFormatContext’ has no member named ‘author’
ffmpeg.c:95:9: error: ‘AVFormatContext’ has no member named ‘album’
ffmpeg.c:96:29: error: ‘AVFormatContext’ has no member named ‘album’
ffmpeg.c: In function ‘ffmpeg_open’:
ffmpeg.c:117:2: warning: ‘av_open_input_file’ is deprecated (declared at /usr/include/ffmpeg/libavformat/avformat.h:1090) [-Wdeprecated-declarations]
ffmpeg.c:133:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
ffmpeg.c:135:32: error: ‘CODEC_TYPE_AUDIO’ undeclared (first use in this function)
ffmpeg.c:135:32: note: each undeclared identifier is reported only once for each function it appears in
ffmpeg.c: In function ‘ffmpeg_seek’:
ffmpeg.c:189:6: warning: unused variable ‘err’ [-Wunused-variable]
ffmpeg.c:188:22: warning: unused variable ‘data’ [-Wunused-variable]
ffmpeg.c:186:45: warning: unused parameter ‘sec’ [-Wunused-parameter]
make[3]: *** [libffmpeg_decoder_la-ffmpeg.lo] Error 1
make[3]: Leaving directory `/home/sagitter/SoftwareCompilato/moc-2.5.0-alpha4/decoder_plugins/ffmpeg'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/sagitter/SoftwareCompilato/moc-2.5.0-alpha4/decoder_plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sagitter/SoftwareCompilato/moc-2.5.0-alpha4'
make: *** [all] Error 2

Info:

ffmpeg has been compiled following these istructions http://ffmpeg.org/trac/ffmpeg/wiki/CentosCompilationGuide
ffmpeg-devel(v. 0.8.8.1) requested package comes from Fedora 16 RPMFusion repository.

Please, can someone explain me how to resolve this problem ?

Regards.

The problem you describe has been fixed by r2375 in SVN. Checkout MOC
from svn://daper.net/moc/trunk .

Also see: http://moc.daper.net/node/792

Thank you. :)

Help me, please, I have same errors, but I not know, how I should use the "svn"!

Succeeded with the following command:

svn checkout svn://daper.net/moc/trunk ./mocsvn

You must apply this patch before to start with $./configure.

That patch is not required if building from SVN.