Mercurial > libavformat.hg
comparison sdp.c @ 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 | 59d84b0f7d30 |
children | 2adc9f64ecfb |
comparison
equal
deleted
inserted
replaced
2315:f93b242dde21 | 2316:5a4914f78109 |
---|---|
19 */ | 19 */ |
20 | 20 |
21 #include "avstring.h" | 21 #include "avstring.h" |
22 #include "avformat.h" | 22 #include "avformat.h" |
23 | 23 |
24 #ifdef CONFIG_RTP_MUXER | |
24 #define MAX_EXTRADATA_SIZE ((INT_MAX - 10) / 2) | 25 #define MAX_EXTRADATA_SIZE ((INT_MAX - 10) / 2) |
25 | 26 |
26 struct sdp_session_level { | 27 struct sdp_session_level { |
27 int sdp_version; /**< protocol version (currently 0) */ | 28 int sdp_version; /**< protocol version (currently 0) */ |
28 int id; /**< session id */ | 29 int id; /**< session id */ |
213 } | 214 } |
214 } | 215 } |
215 | 216 |
216 return buff; | 217 return buff; |
217 } | 218 } |
219 #else | |
220 char *avf_sdp_create(AVFormatContext *ac[], int n_files) | |
221 { | |
222 return NULL; | |
223 } | |
224 #endif |