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:
parent
6628165891
commit
7ba32703dd
@ -21,6 +21,7 @@
|
|||||||
#include "avstring.h"
|
#include "avstring.h"
|
||||||
#include "avformat.h"
|
#include "avformat.h"
|
||||||
|
|
||||||
|
#ifdef CONFIG_RTP_MUXER
|
||||||
#define MAX_EXTRADATA_SIZE ((INT_MAX - 10) / 2)
|
#define MAX_EXTRADATA_SIZE ((INT_MAX - 10) / 2)
|
||||||
|
|
||||||
struct sdp_session_level {
|
struct sdp_session_level {
|
||||||
@ -215,3 +216,9 @@ char *avf_sdp_create(AVFormatContext *ac[], int n_files)
|
|||||||
|
|
||||||
return buff;
|
return buff;
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
char *avf_sdp_create(AVFormatContext *ac[], int n_files)
|
||||||
|
{
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user