ffmpeg.c include error

Hi!
I used MOC for a while in a Mandrake 10.1 keyboardless linux box, only with mp3 support.
Yesterday I tried to install moc WITH ffmpeg support and was very dificult for me because it gave me many errors with ffmpeg libraries, almost all of them related with the ffmpeg compilation itself. But one of the was related to an error like "ffmpeg/avformat.h: no such file" when compiling MOC. My solution was to change #include with #include
in ./decoder_plugins/ffmpeg/ffmpeg.c. it compiled flawlessly!
Now it's working and I can listen online radios and wma's with MOC.
Hope I can help with this, I'm very happy with this program, thank you very very much!
Greetings From Argentina
Gaston

Sorry but it seems that the page doesn't allow brackets! (maybe used for coding?)
In the #include sentence, I changed ffmpeg/avformat.h for libavformat/avformat.h in line 25 of ./decoder_plugins/ffmpeg/ffmpeg.c
Thanks and sorry for my mistake!
Greetings
Gaston

It was fixed recently (patch included in SVN repo) by Alexis Ballier.

--
Damian Pietras - MOC developer

Hola Gaston :D

Hi, I did the same thing today when I got those nasty include errors.

I still have a problem, I can't listen to any .wma file even I have ffmpeg installed.

This is the error that I get when I run mocp:
Can't load plugin libffmpeg_decoder: /usr/local/lib/moc/decoder_plugins/libffmpeg_decoder.so: undefined symbol: inflateInit_

What should I do?