Re: [FFmpeg-devel] [PATCH] avformat/rtpdec: Avoid allocations of small dynamic buffers

2021-01-29 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Besides avoiding allocations this also fixes a design defect of > ff_rtp_send_punch_packets: It did not return an error in case of > these allocations failed. > > Signed-off-by: Andreas Rheinhardt > --- > libavformat/rtpdec.c | 38 +- > 1

[FFmpeg-devel] [PATCH] avformat/rtpdec: Avoid allocations of small dynamic buffers

2021-01-27 Thread Andreas Rheinhardt
Besides avoiding allocations this also fixes a design defect of ff_rtp_send_punch_packets: It did not return an error in case of these allocations failed. Signed-off-by: Andreas Rheinhardt --- libavformat/rtpdec.c | 38 +- 1 file changed, 13 insertions(+), 25