mirror of https://git.ffmpeg.org/ffmpeg.git
avformat/rtspdec: use SDP_MAX_SIZE for sdp array
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
This commit is contained in:
parent
33f6bb7828
commit
9e2872bc67
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue