1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

Fix linking when RTP is disabled and libraries are dynamic

Originally committed as revision 9945 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Luca Abeni 2007-08-05 13:32:37 +00:00
parent 6628165891
commit 7ba32703dd

View File

@ -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