[FFmpeg-cvslog] avformat/rtsp: 16384 -> SDP_MAX_SIZE

Limin Wang git at videolan.org
Wed Nov 11 12:41:11 EET 2020


ffmpeg | branch: master | Limin Wang <lance.lmwang at gmail.com> | Wed Nov  4 20:51:06 2020 +0800| [54394600169c5c91aa6de9d555a04b865165407e] | committer: Limin Wang

avformat/rtsp: 16384 -> SDP_MAX_SIZE

Signed-off-by: Limin Wang <lance.lmwang at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=54394600169c5c91aa6de9d555a04b865165407e
---

 libavformat/rtsp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;



More information about the ffmpeg-cvslog mailing list