From e72d6fa08a3c1876109149401753a8d2c736d418 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Tue, 28 Jun 2016 13:53:29 +0200 Subject: build: Move MP2 muxer declaration away from MP3 muxer code The MP2 muxer uses none of the code of the MP3 muxer. --- libavformat/mp3enc.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'libavformat/mp3enc.c') diff --git a/libavformat/mp3enc.c b/libavformat/mp3enc.c index 24949cba65..a62c7f6c8c 100644 --- a/libavformat/mp3enc.c +++ b/libavformat/mp3enc.c @@ -432,21 +432,6 @@ static int mp3_write_trailer(struct AVFormatContext *s) return 0; } -#if CONFIG_MP2_MUXER -AVOutputFormat ff_mp2_muxer = { - .name = "mp2", - .long_name = NULL_IF_CONFIG_SMALL("MP2 (MPEG audio layer 2)"), - .mime_type = "audio/mpeg", - .extensions = "mp2,m2a,mpa", - .audio_codec = AV_CODEC_ID_MP2, - .video_codec = AV_CODEC_ID_NONE, - .write_packet = ff_raw_write_packet, - .flags = AVFMT_NOTIMESTAMPS, -}; -#endif - -#if CONFIG_MP3_MUXER - static const AVOption options[] = { { "id3v2_version", "Select ID3v2 version to write. Currently 3 and 4 are supported.", offsetof(MP3Context, id3v2_version), AV_OPT_TYPE_INT, {.i64 = 4}, 0, 4, AV_OPT_FLAG_ENCODING_PARAM}, @@ -589,4 +574,3 @@ AVOutputFormat ff_mp3_muxer = { .flags = AVFMT_NOTIMESTAMPS, .priv_class = &mp3_muxer_class, }; -#endif -- cgit v1.2.3