mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-06 14:15:29 +01:00
avformat/rtspdec: use SDP_MAX_SIZE for sdp array
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
This commit is contained in:
@@ -172,7 +172,7 @@ static int rtsp_read_announce(AVFormatContext *s)
|
||||
{
|
||||
RTSPState *rt = s->priv_data;
|
||||
RTSPMessageHeader request = { 0 };
|
||||
char sdp[4096];
|
||||
char sdp[SDP_MAX_SIZE];
|
||||
int ret;
|
||||
|
||||
ret = rtsp_read_request(s, &request, "ANNOUNCE");
|
||||
|
||||
Reference in New Issue
Block a user