Commit 7ba32703 authored by Luca Abeni's avatar Luca Abeni

Fix linking when RTP is disabled and libraries are dynamic

Originally committed as revision 9945 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 66281658
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment