aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dnn/dnn-layer-maximum-test.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-09-20 08:05:58 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-09-20 11:14:11 +0200
commitd554aabdaf81fc3ea99783aca42649b43013e796 (patch)
treeacfe595b20e396ce56b5419690a7c0a62925cb2c /tests/dnn/dnn-layer-maximum-test.c
parenta39fcbdffbcb8192332810d0a9217144560bef9f (diff)
downloadffmpeg-d554aabdaf81fc3ea99783aca42649b43013e796.tar.gz
avformat/swfenc: Fix memleak upon write_header error
The SWF muxer accepts at most one mp3 audio and at most one VP6F, FLV1 or MJPEG stream. Upon encountering an mp3 stream, a fifo is allocated that leaks if one of the subsequent streams is incompliant with the restrictions mentioned above or if the framerate or samplerate are invalid. This is fixed by adding a deinit function to free said fifo. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'tests/dnn/dnn-layer-maximum-test.c')
0 files changed, 0 insertions, 0 deletions