ff_asts_init needs to be inside #ifdef CONFIG_MUXERS, remove some misplaced
[ffmpeg.git] / libavformat / adtsenc.c
index 55f8831..72e6c0e 100644 (file)
@@ -104,7 +104,6 @@ static int adts_write_packet(AVFormatContext *s, AVPacket *pkt)
     return 0;
 }
 
-#ifdef CONFIG_MUXERS
 static AVOutputFormat adts_oformat = {
     "adts",
     "ADTS AAC",
@@ -117,12 +116,9 @@ static AVOutputFormat adts_oformat = {
     adts_write_packet,
     adts_write_trailer,
 };
-#endif //CONFIG_MUXERS
 
 int ff_adts_init(void)
 {
-#ifdef CONFIG_MUXERS
     av_register_output_format(&adts_oformat);
-#endif //CONFIG_MUXERS
     return 0;
 }