avformat/rtsp: 16384 -> SDP_MAX_SIZE

Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
pull/358/head
Limin Wang 4 years ago
parent b1d99ab14f
commit 5439460016
  1. 2
      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 * The Vorbis FMTP line can be up to 16KB - see xiph_parse_sdp_line
* in rtpdec_xiph.c. */ * in rtpdec_xiph.c. */
char buf[16384], *q; char buf[SDP_MAX_SIZE], *q;
SDPParseState sdp_parse_state = { { 0 } }, *s1 = &sdp_parse_state; SDPParseState sdp_parse_state = { { 0 } }, *s1 = &sdp_parse_state;
p = content; p = content;

Loading…
Cancel
Save