mirror of https://github.com/FFmpeg/FFmpeg.git
The JPEG2000 encoder did not clean up after itself on error. This commit fixes this by modifying the cleanup function to be able to handle only partially allocated structures and by setting the FF_CODEC_CAP_INIT_CLEANUP flag. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>pull/352/head
parent
3507ab07ec
commit
3d83de4187
1 changed files with 10 additions and 5 deletions
Loading…
Reference in new issue