diff options
author | Luca Abeni <lucabe72@email.it> | 2007-08-05 13:32:37 +0000 |
---|---|---|
committer | Luca Abeni <lucabe72@email.it> | 2007-08-05 13:32:37 +0000 |
commit | 7ba32703dd4e371052e63915145e07192035cbba (patch) | |
tree | 140149e7b8dcec266506891f5c4ef4be560e84be /libavformat/sdp.c | |
parent | 662816589130367fcf4c1f32b05fbda8eb70bc76 (diff) | |
download | ffmpeg-7ba32703dd4e371052e63915145e07192035cbba.tar.gz |
Fix linking when RTP is disabled and libraries are dynamic
Originally committed as revision 9945 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/sdp.c')
-rw-r--r-- | libavformat/sdp.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavformat/sdp.c b/libavformat/sdp.c index 8cedcd151a..2809163342 100644 --- 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 |