synfig-core svn compilation error - Ubuntu Gutsy

Hi, I get this error when running make:

/usr/local/include/ffmpeg/avcodec.h:2269: warning: 'ImgReSampleContext' is deprecated (declared at /usr/local/include/ffmpeg/avcodec.h:2253) trgt_av.cpp: In member function 'bool VideoEncoder::write_frame(AVFormatContext*, AVStream*, AVFrame*)': trgt_av.cpp:392: warning: 'img_convert' is deprecated (declared at /usr/local/include/ffmpeg/avcodec.h:2421) trgt_av.cpp:394: warning: 'img_convert' is deprecated (declared at /usr/local/include/ffmpeg/avcodec.h:2421) trgt_av.cpp: In member function 'void Target_LibAVCodec::LibAVEncoder::CleanUp()': trgt_av.cpp:677: error: cannot convert 'ByteIOContext**' to 'ByteIOContext*' for argument '1' to 'int url_fclose(ByteIOContext*)' make[4]: *** [libmod_libavcodec_la-trgt_av.lo] Error 1 make[4]: Leaving directory `/home/rudlavibizon/synfig-core/src/modules/mod_libavcodec' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/rudlavibizon/synfig-core/src/modules' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/rudlavibizon/synfig-core/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/rudlavibizon/synfig-core' make: *** [all] Error 2

Looks like you have very new libavformat headers installed. Until the libavcodec plugin is updated, please use ./configure
–without-libavcodec.

Looks like the definition of AVFormatContext->pb changed from ByteIOContext to ByteIOContext* recently.

Patches to fix this issue (and the use of depreciated ffmpeg APIs) are welcome, shame that libavcodec changes the API so often though.