]> git.sesse.net Git - ffmpeg/commit
avcodec/videotoolbox_hevc: avoid leaking cached_hw_frames_ctx
authorPavel Koshevoy <pkoshevoy@gmail.com>
Wed, 7 Aug 2019 02:42:15 +0000 (20:42 -0600)
committerPavel Koshevoy <pkoshevoy@gmail.com>
Sat, 24 Aug 2019 05:54:27 +0000 (23:54 -0600)
commit22a14ee753f372bf0ae4bd1e743670f353f7a17a
treef9f1fd173778ac6d38f3c7215ac7b8327be58a57
parent3d857f219eb972fb345e784d17268e16b6dec6f0
avcodec/videotoolbox_hevc: avoid leaking cached_hw_frames_ctx

vtctx->cached_hw_frames_ctx is unref'd in videotoolbox_uninit,
but videotoolbox_hevc used ff_videotoolbox_uninit which
doesn't unref cache_hw_frames_ctx.

Signed-off-by: Pavel Koshevoy <pkoshevoy@gmail.com>
libavcodec/videotoolbox.c