[FFmpeg-cvslog] r9945 - trunk/libavformat/sdp.c

lucabe subversion
Sun Aug 5 15:32:37 CEST 2007


Author: lucabe
Date: Sun Aug  5 15:32:37 2007
New Revision: 9945

Log:
Fix linking when RTP is disabled and libraries are dynamic


Modified:
   trunk/libavformat/sdp.c

Modified: trunk/libavformat/sdp.c
==============================================================================
--- trunk/libavformat/sdp.c	(original)
+++ trunk/libavformat/sdp.c	Sun Aug  5 15:32:37 2007
@@ -21,6 +21,7 @@
 #include "avstring.h"
 #include "avformat.h"
 
+#ifdef CONFIG_RTP_MUXER
 #define MAX_EXTRADATA_SIZE ((INT_MAX - 10) / 2)
 
 struct sdp_session_level {
@@ -215,3 +216,9 @@ char *avf_sdp_create(AVFormatContext *ac
 
     return buff;
 }
+#else
+char *avf_sdp_create(AVFormatContext *ac[], int n_files)
+{
+    return NULL;
+}
+#endif




More information about the ffmpeg-cvslog mailing list