]> git.sesse.net Git - ffmpeg/commit
avformat/rtpdec: Avoid allocations of small dynamic buffers
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Wed, 27 Jan 2021 14:57:19 +0000 (15:57 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sun, 31 Jan 2021 20:26:44 +0000 (21:26 +0100)
commitad2cc0e2f41f3be59e8c7c1a0ab5c813d7073643
tree1247b25f5cc2e033477ef27016df079d99834899
parent459c6e8ab332718a705213d7bbff98bd0f48a786
avformat/rtpdec: Avoid allocations of small dynamic buffers

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 <andreas.rheinhardt@gmail.com>
libavformat/rtpdec.c