diff options
author | Roine Gustafsson <roine@users.sourceforge.net> | 2005-05-10 20:39:11 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-05-10 20:39:11 +0000 |
commit | 983ea0bc870abf651531d04f294e975cf837b8c2 (patch) | |
tree | b8b183b7747fb92b9ab7870129ddb0ecb1a956ba /libavcodec/mpegaudio.c | |
parent | 33f725723f525357861abb4b3be8de250b6a7393 (diff) | |
download | ffmpeg-983ea0bc870abf651531d04f294e975cf837b8c2.tar.gz |
a few #ifdef CONFIG_X_ENCODER, patch by (Roine Gustafsson <roine users.sourceforge net]
Originally committed as revision 4213 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegaudio.c')
-rw-r--r-- | libavcodec/mpegaudio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/mpegaudio.c b/libavcodec/mpegaudio.c index d521acc588..190aa1590c 100644 --- a/libavcodec/mpegaudio.c +++ b/libavcodec/mpegaudio.c @@ -785,6 +785,7 @@ static int MPA_encode_close(AVCodecContext *avctx) return 0; } +#ifdef CONFIG_MP2_ENCODER AVCodec mp2_encoder = { "mp2", CODEC_TYPE_AUDIO, @@ -795,5 +796,6 @@ AVCodec mp2_encoder = { MPA_encode_close, NULL, }; +#endif // CONFIG_MP2_ENCODER #undef FIX |