diff options
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 |