[FFmpeg-devel] [PATCH v3 2/2] avformat/rtspdec: get rid of the hardcoded max size for sdp
lance.lmwang at gmail.com
lance.lmwang at gmail.com
Thu Dec 2 14:52:33 EET 2021
On Thu, Dec 02, 2021 at 01:20:00PM +0200, Martin Storsjö wrote:
> On Thu, 2 Dec 2021, 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/rtspdec.c | 10 ++++++++--
> > 1 file changed, 8 insertions(+), 2 deletions(-)
>
> LGTM, thanks!
>
> If this was the last use of SDP_MAX_SIZE, I guess this patch could remove
> the define too?
No, not yet, ff_sdp_parse() use it still(it's used for one line parse, I think it's too big for one line)
and av_sdp_create() in rtspenc.c use it also.
>
> // Martin
>
--
Thanks,
Limin Wang
More information about the ffmpeg-devel
mailing list