mirror of https://github.com/FFmpeg/FFmpeg.git
The Sonic decoder and encoders allocate several buffers in their init function and return immediately if one of these allocations fails; this will lead to leaks if there was an earlier successfull allocation. Fix this by setting the FF_CODEC_CAP_INIT_CLEANUP flag. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>pull/351/head
parent
0b45ac5717
commit
7d91f9271e
1 changed files with 3 additions and 0 deletions
Loading…
Reference in new issue