ffmpeg | branch: master | Limin Wang <[email protected]> | Wed Nov  4 
20:51:06 2020 +0800| [54394600169c5c91aa6de9d555a04b865165407e] | committer: 
Limin Wang

avformat/rtsp: 16384 -> SDP_MAX_SIZE

Signed-off-by: Limin Wang <[email protected]>

> 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;

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to