changeset 2888:fa2156303c3f libavformat

Rationalize some dependencies between rtsp and rtp
author lucabe
date Thu, 03 Jan 2008 12:49:12 +0000
parents 9148847ac072
children 60275d3b2e42
files Makefile allformats.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Thu Jan 03 11:59:20 2008 +0000
+++ b/Makefile	Thu Jan 03 12:49:12 2008 +0000
@@ -123,7 +123,7 @@
 OBJS-$(CONFIG_ROQ_MUXER)                 += raw.o
 OBJS-$(CONFIG_RTP_MUXER)                 += rtp.o rtp_h264.o rtsp.o rtp_mpv.o rtp_aac.o
 OBJS-$(CONFIG_RTSP_DEMUXER)              += rtsp.o
-OBJS-$(CONFIG_SDP_DEMUXER)               += rtsp.o
+OBJS-$(CONFIG_SDP_DEMUXER)               += rtsp.o rtp.o rtp_h264.o rtp_mpv.o rtp_aac.o
 OBJS-$(CONFIG_SEGAFILM_DEMUXER)          += segafilm.o
 OBJS-$(CONFIG_SHORTEN_DEMUXER)           += raw.o
 OBJS-$(CONFIG_SIFF_DEMUXER)              += siff.o
--- a/allformats.c	Thu Jan 03 11:59:20 2008 +0000
+++ b/allformats.c	Thu Jan 03 12:49:12 2008 +0000
@@ -137,7 +137,7 @@
     REGISTER_MUXER    (RTP, rtp);
     REGISTER_DEMUXER  (RTSP, rtsp);
     REGISTER_DEMUXER  (SDP, sdp);
-#ifdef CONFIG_RTP_MUXER
+#ifdef CONFIG_SDP_DEMUXER
     av_register_rtp_dynamic_payload_handlers();
 #endif
     REGISTER_DEMUXER  (SEGAFILM, segafilm);