diff options
author | Jan Ekström <jeebjp@gmail.com> | 2017-11-24 02:44:44 +0200 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2017-11-25 18:51:41 +0200 |
commit | f6d49a0dc84aade2adf150c25afb66cbda1d5528 (patch) | |
tree | af4d5ce95f9fe02337512ce15bf9cfea0d545815 /libavcodec/hap.h | |
parent | fbdd78fa3e9949eb8b0cf6edc2548ed50e11bf71 (diff) | |
download | ffmpeg-f6d49a0dc84aade2adf150c25afb66cbda1d5528.tar.gz |
hwcontext_d3d11va: properly reset values after release/close
Makes the uninit function re-entrable, which can be a common case
when an API user first tries to initialize its context, fails, and
then finally unrefs the AVHWDevice.
Fixes a crash reported by sm2345 on IRC.
Diffstat (limited to 'libavcodec/hap.h')
0 files changed, 0 insertions, 0 deletions