Use correct CONFIG_RTP_MUXER ifdef
[ffmpeg.git] / libavformat / allformats.c
index 91c4a7b..117d6f7 100644 (file)
@@ -136,7 +136,7 @@ void av_register_all(void)
     REGISTER_MUXER   (RTP, rtp);
     REGISTER_DEMUXER (RTSP, rtsp);
     REGISTER_DEMUXER (SDP, sdp);
     REGISTER_MUXER   (RTP, rtp);
     REGISTER_DEMUXER (RTSP, rtsp);
     REGISTER_DEMUXER (SDP, sdp);
-#ifdef CONFIG_NETWORK
+#ifdef CONFIG_RTP_MUXER
     av_register_rtp_dynamic_payload_handlers();
 #endif
     REGISTER_DEMUXER (SEGAFILM, segafilm);
     av_register_rtp_dynamic_payload_handlers();
 #endif
     REGISTER_DEMUXER (SEGAFILM, segafilm);