mirror of https://github.com/FFmpeg/FFmpeg.git
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>pull/358/head
parent
a125e08130
commit
4b4c7d6e1a
1 changed files with 2 additions and 5 deletions
Loading…
Reference in new issue