mirror of https://github.com/FFmpeg/FFmpeg.git
It is only supposed to be freed by libavcodec for decoders, yet avcodec_open2() always frees it on failure. Furthermore, avcodec_close() doesn't free it for decoders. Both of this has been changed. Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>pull/362/head
parent
878e45e0fb
commit
a1ed984e04
1 changed files with 5 additions and 2 deletions
Loading…
Reference in new issue