diff options
author | wm4 <wm4@nowhere> | 2017-01-08 06:57:48 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-01-08 07:32:44 +0100 |
commit | f2a24ccfa5ad1c09a7a75316a4589b5676d3945c (patch) | |
tree | 3574fb7c2160f9e3c24db60b5e2b35c9ec694d9d /player/main.c | |
parent | 68d737bd92c7a8c9a12033604e171581b14fe232 (diff) | |
download | mpv-f2a24ccfa5ad1c09a7a75316a4589b5676d3945c.tar.bz2 mpv-f2a24ccfa5ad1c09a7a75316a4589b5676d3945c.tar.xz |
vaapi: rearrange va_initialize() internals and fix double-free on error
Just some minor refactoring within va_initialize() as preparation for
the next commit.
Also, do not call vaTerminate(display) on failures. All callers already
do this, so this would have led to a double-free.
Diffstat (limited to 'player/main.c')
0 files changed, 0 insertions, 0 deletions