Compile fails at ffmpeg

Slackware ver 14.0
Kernel version Linux version 3.2.29-smp

I’m wondering what version of ffmpeg this iteration of Audacity is built with. I installed the latest ffmpeg version from their git repository a couple of days ago.
It is version:
ffmpeg version N-45599-g9de5b11 Copyright (c) 2000-2012 the FFmpeg developers
built on Oct 16 2012 13:44:46 with gcc 4.5.2 (GCC)

Anyway when I try to build Audacity 2.0.3 I get the following errors:

In file included from AudacityApp.cpp:70:0:
FFmpeg.h:356:4: error: ‘SampleFormat’ does not name a type
FFmpeg.h:585:4: error: use of enum ‘SampleFormat’ without previous declaration
FFmpeg.h:585:4: error: use of enum ‘SampleFormat’ without previous declaration
FFmpeg.h:622:4: error: ‘AVFormatParameters’ has not been declared
FFmpeg.h:622:4: error: ‘AVFormatParameters’ has not been declared
FFmpeg.h:639:4: warning: ‘av_register_protocol_fp’ initialized and declared ‘extern’ [enabled by default]
FFmpeg.h:639:4: error: ‘URLProtocol’ was not declared in this scope
FFmpeg.h:639:4: error: ‘protocol’ was not declared in this scope
FFmpeg.h:639:4: error: ‘av_register_protocol’ declared as an ‘inline’ variable
FFmpeg.h:639:4: error: ‘URLProtocol’ was not declared in this scope
FFmpeg.h:639:4: error: ‘protocol’ was not declared in this scope
FFmpeg.h:639:4: error: expected ‘,’ or ‘;’ before ‘{’ token
FFmpeg.h: In function ‘AVCodec* av_codec_next(AVCodec*)’:
FFmpeg.h:686:4: error: declaration of C function ‘AVCodec* av_codec_next(AVCodec*)’ conflicts with

etc, etc, etc

FFmpeg.h:908:4: error: expected ‘,’ or ‘;’ before ‘{’ token
AudacityApp.cpp:217:13: warning: ‘void wxOnAssert(const wxChar*, int, const wxChar*)’ defined but not used [-Wunused-function]
make[1]: *** [AudacityApp.o] Error 1
make[1]: Leaving directory `/usr/local/src/audacity/src’
make: *** [audacity] Error 2

Any Help greatly appreciated.

Audacity should support building against FFmpeg 0.5 through 0.8. It may not currently be possible to build Audacity against later versions of FFmpeg.