mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01: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
1 changed files with 7 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue