aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ratecontrol.h
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2016-11-03 00:13:35 +0000
committerwm4 <nfxjfg@googlemail.com>2017-03-21 06:16:49 +0100
commitfb69a8e1f124ee89e924344bfb7934937abed642 (patch)
tree91ea3c1653396ef2db7e88fd7df185f395aedf6d /libavcodec/ratecontrol.h
parent98f89d615b6490a5b93930c7bfa74c427dedf04e (diff)
downloadffmpeg-fb69a8e1f124ee89e924344bfb7934937abed642.tar.gz
pthread_frame: Unreference hw_frames_ctx on per-thread codec contexts
When decoding with threads enabled, the get_format callback will be called with one of the per-thread codec contexts rather than with the outer context. If a hwaccel is in use too, this will add a reference to the hardware frames context on that codec context, which will then propagate to all of the other per-thread contexts for decoding. Once the decoder finishes, however, the per-thread contexts are not freed normally, so these references leak. Merges Libav commit fd0fae60. Signed-off-by: wm4 <nfxjfg@googlemail.com>
Diffstat (limited to 'libavcodec/ratecontrol.h')
0 files changed, 0 insertions, 0 deletions