avformat/apngenc: Add deinit function
Prevents memleaks when the trailer is never written (e.g. when there was a write error when writing the header). Fixes ticket #8347. Signed-off-by: NAndreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: NJames Almer <jamrial@gmail.com>
Showing
想要评论请 注册 或 登录