Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLimin Wang <lance.lmwang@gmail.com>2020-11-11 13:26:26 +0300
committerLimin Wang <lance.lmwang@gmail.com>2020-11-11 13:32:56 +0300
commit33f6bb78285f05dbdad476eaf199dae21b7b89df (patch)
treed43f529e5533565b173e01aa0119e6986d0b5c2a /libavformat/rtspenc.c
parent54394600169c5c91aa6de9d555a04b865165407e (diff)
avformat/rtsp: move SDP_MAX_SIZE macro definition to header file
move comments for the size of SDP_MAX_SIZE here: Some SDP lines, particularly for Realmedia or ASF RTSP streams, contain long SDP lines containing complete ASF Headers (several kB) or arrays of MDPR (RM stream descriptor) headers plus "rulebooks" describing their properties. Therefore, the SDP line buffer is large. The Vorbis FMTP line can be up to 16KB - see xiph_parse_sdp_line in rtpdec_xiph.c. Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Diffstat (limited to 'libavformat/rtspenc.c')
-rw-r--r--libavformat/rtspenc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/rtspenc.c b/libavformat/rtspenc.c
index 97e3ef6da3..d50544456d 100644
--- a/libavformat/rtspenc.c
+++ b/libavformat/rtspenc.c
@@ -34,7 +34,6 @@
#include "libavutil/time.h"
#include "url.h"
-#define SDP_MAX_SIZE 16384
static const AVClass rtsp_muxer_class = {
.class_name = "RTSP muxer",