diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-03-19 01:24:28 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-03-19 02:24:53 +0100 |
commit | aff1d373b1d66064d4c07a6a83c86a0044eaad52 (patch) | |
tree | 707393277b5e675ab6ac43123cdfa6b303d1d175 /libavfilter/tests/formats.c | |
parent | ea1e15fdc46333f30a49c1d7761b52e589bf78cb (diff) | |
download | ffmpeg-aff1d373b1d66064d4c07a6a83c86a0044eaad52.tar.gz |
avformat/tests/fifo_muxer: Fix leak of AVPacket on error
Also factor allocating and freeing the packet out.
Fixes Coverity issues #1473722 and #1473723; it is a regression
since 4b386b2059806ca7ee7f991d2c8b735410693e8c.
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavfilter/tests/formats.c')
0 files changed, 0 insertions, 0 deletions