Mercurial > libavformat.hg
changeset 2316:5a4914f78109 libavformat
Fix linking when RTP is disabled and libraries are dynamic
author | lucabe |
---|---|
date | Sun, 05 Aug 2007 13:32:37 +0000 |
parents | f93b242dde21 |
children | 2adc9f64ecfb |
files | sdp.c |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/sdp.c Sun Aug 05 12:11:16 2007 +0000 +++ b/sdp.c Sun Aug 05 13:32:37 2007 +0000 @@ -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 @@ return buff; } +#else +char *avf_sdp_create(AVFormatContext *ac[], int n_files) +{ + return NULL; +} +#endif