ffmpeg/libavformat/tests
Andreas Rheinhardt edcbb3e1b9 avformat/tests/fifo_muxer: Fix memleak on error, fix API violation
The test program for the FIFO muxer allocates a buffer without padding
and wraps it into a packet via av_packet_from_data(). This is an API
violation. Furthermore, said buffer leaks in case av_packet_from_data()
fails. Fix both of these issues by using av_new_packet() instead.

Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-03-19 02:25:02 +01:00
..
.gitignore avformat/tests/gitignore: add fifo_muxer entry 2016-10-18 03:38:37 +02:00
fifo_muxer.c avformat/tests/fifo_muxer: Fix memleak on error, fix API violation 2021-03-19 02:25:02 +01:00
movenc.c avformat/tests/movenc: use av_packet_alloc() to allocate packets 2021-03-17 15:19:36 -03:00
noproxy.c
rtmpdh.c Merge commit '537b5b773b' 2017-04-04 15:56:36 -03:00
seek.c lav*,tests: remove several register_all calls 2018-04-02 03:26:22 +01:00
srtp.c
url.c lavf/url: fix relative url parsing when the query string or fragment has a colon 2020-10-28 21:34:09 +01:00