projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6628165
)
Fix linking when RTP is disabled and libraries are dynamic
author
Luca Abeni
<lucabe72@email.it>
Sun, 5 Aug 2007 13:32:37 +0000
(13:32 +0000)
committer
Luca Abeni
<lucabe72@email.it>
Sun, 5 Aug 2007 13:32:37 +0000
(13:32 +0000)
Originally committed as revision 9945 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/sdp.c
patch
|
blob
|
history
diff --git
a/libavformat/sdp.c
b/libavformat/sdp.c
index 8cedcd151ac3c8810f5d30f63988b667c324ec25..2809163342809c2e96be7a05bf9c14171f457fd1 100644
(file)
--- a/
libavformat/sdp.c
+++ b/
libavformat/sdp.c
@@
-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[], int n_files)
return buff;
}
+#else
+char *avf_sdp_create(AVFormatContext *ac[], int n_files)
+{
+ return NULL;
+}
+#endif