diff options
author | Limin Wang <lance.lmwang@gmail.com> | 2020-11-04 20:51:06 +0800 |
---|---|---|
committer | Limin Wang <lance.lmwang@gmail.com> | 2020-11-11 18:32:56 +0800 |
commit | 54394600169c5c91aa6de9d555a04b865165407e (patch) | |
tree | c2c24594cd4236142aff29dc1e3835f1efbcb20b /libavformat/rtsp.c | |
parent | b1d99ab14f2fd273e678dcb618dabfb38aab91b6 (diff) | |
download | ffmpeg-54394600169c5c91aa6de9d555a04b865165407e.tar.gz |
avformat/rtsp: 16384 -> SDP_MAX_SIZE
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Diffstat (limited to 'libavformat/rtsp.c')
-rw-r--r-- | libavformat/rtsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 4427bd268f..3bc7671a3c 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -696,7 +696,7 @@ int ff_sdp_parse(AVFormatContext *s, const char *content) * * The Vorbis FMTP line can be up to 16KB - see xiph_parse_sdp_line * in rtpdec_xiph.c. */ - char buf[16384], *q; + char buf[SDP_MAX_SIZE], *q; SDPParseState sdp_parse_state = { { 0 } }, *s1 = &sdp_parse_state; p = content; |