diff options
author | Niklas Haas <git@haasn.xyz> | 2017-07-03 16:59:38 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.xyz> | 2017-07-03 17:14:06 +0200 |
commit | 5df3576856b4f985b9724d5b79b1c9ffdfb403ee (patch) | |
tree | 63f724078f1420365802fa821cb4a3662c81bf94 /player/command.c | |
parent | 4a2f268f67b1505630724b6f8df960fce25770f0 (diff) | |
download | mpv-5df3576856b4f985b9724d5b79b1c9ffdfb403ee.tar.bz2 mpv-5df3576856b4f985b9724d5b79b1c9ffdfb403ee.tar.xz |
vo_opengl: make the pass info mechanism more robust
- change asserts to silent exits
- check all pointers before use
- move the p->pass initialization code to the right place
This should hopefully cut down on the amount of crashing by making the
code fundamentally more robust, while also fixing a concrete issue where
opengl-cb failed to initialize p->pass.
Diffstat (limited to 'player/command.c')
0 files changed, 0 insertions, 0 deletions