]> git.sesse.net Git - ffmpeg/commit
avformat/rtsp: move SDP_MAX_SIZE macro definition to header file
authorLimin Wang <lance.lmwang@gmail.com>
Wed, 11 Nov 2020 10:26:26 +0000 (18:26 +0800)
committerLimin Wang <lance.lmwang@gmail.com>
Wed, 11 Nov 2020 10:32:56 +0000 (18:32 +0800)
commit33f6bb78285f05dbdad476eaf199dae21b7b89df
treed43f529e5533565b173e01aa0119e6986d0b5c2a
parent54394600169c5c91aa6de9d555a04b865165407e
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>
libavformat/rtsp.c
libavformat/rtsp.h
libavformat/rtspenc.c