diff options
author | Anton Kindestam <antonki@kth.se> | 2018-10-25 12:01:31 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2018-10-25 13:50:09 +0200 |
commit | ba2dee38fbd33adcb5405e0726f5baaa75128ccc (patch) | |
tree | 80e6a21d8a2e15ea33ca045d43bc77372be79796 /waftools/features.py | |
parent | bdec4421e69e62403a3bab3fdafd8b11ba0a070b (diff) | |
download | mpv-ba2dee38fbd33adcb5405e0726f5baaa75128ccc.tar.bz2 mpv-ba2dee38fbd33adcb5405e0726f5baaa75128ccc.tar.xz |
hwdec_drmprime_drm: Missing NULL-check on drm_atomic_context video_plane
Since 810acf32d6cf0dfbad66c602689ef1218fc0a6e3 video_plane can be NULL
under some circumstances. While there is a check in init, init treats
this as an error condition and would call uninit, which in turn calls
disable_video_plane, which would then segfault. Fix this by including
a NULL check inside disable_video_plane, so that it doesn't try to
disable what isnt' there.
Diffstat (limited to 'waftools/features.py')
0 files changed, 0 insertions, 0 deletions