[FFmpeg-devel] [PATCH 1/6] avformat/rtsp: 16384 -> SDP_MAX_SIZE
Zhao Zhili
quinkblack at foxmail.com
Mon Nov 9 16:51:05 EET 2020
> On Nov 4, 2020, at 9:37 PM, lance.lmwang at gmail.com wrote:
>
> From: Limin Wang <lance.lmwang at gmail.com>
>
> Signed-off-by: Limin Wang <lance.lmwang at gmail.com>
> ---
> libavformat/rtsp.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
> index 49c2d52..1b876c9 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;
The comments before this line should be moved to where SDP_MAX_SIZE
is defined.
> SDPParseState sdp_parse_state = { { 0 } }, *s1 = &sdp_parse_state;
>
> p = content;
> --
> 1.8.3.1
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-devel
mailing list