ffmpeg/libavcodec
Andreas Rheinhardt 2eb76188d0 avcodec/mss4: Fix memleaks upon allocation error
During init the mts2 decoder allocates several VLCs and then several
buffers in a loop; if one of the latter allocations fails, only the VLCs
are freed, not any buffers that might already have been successfully
allocated. This commit fixes this by setting the
FF_CODEC_CAP_INIT_CLEANUP flag.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
(cherry picked from commit 4b4c7d6e1a700ef6b784b2f0b093e200ed049c20)
2021-02-27 07:20:59 +01:00
..
2021-02-02 14:18:21 +01:00
2021-02-02 14:18:21 +01:00
2021-02-02 14:18:21 +01:00
2021-02-02 14:18:21 +01:00
2021-02-20 14:21:24 +01:00
2021-02-02 14:18:20 +01:00
2021-02-02 14:18:20 +01:00
2021-02-02 14:18:20 +01:00
2021-02-27 07:20:58 +01:00