summaryrefslogtreecommitdiffstats
path: root/player/video.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-03-25 12:36:31 +0100
committerwm4 <wm4@nowhere>2015-03-25 12:36:36 +0100
commit6d9f15a8ab8a80d13a04c4fae5ce3f251aa20275 (patch)
treea6bc6b80d956404e1fbd1bf0c3f2e4f54b90a631 /player/video.c
parent85c21ae40940d6c54e36b5822e9ac1a517185b07 (diff)
downloadmpv-6d9f15a8ab8a80d13a04c4fae5ce3f251aa20275.tar.bz2
mpv-6d9f15a8ab8a80d13a04c4fae5ce3f251aa20275.tar.xz
vo_opengl: check extensions properly
With the previous commit, we have no need anymore to check a part of an extension string (for ignoring a prefix). So check the extension string properly, instead of just using the broken old strstr() method, which could accidentally ignore prefixes or suffixes. Do this by extending the check to whether the extension name is properly delimited by spaces or string start/end.
Diffstat (limited to 'player/video.c')
0 files changed, 0 insertions, 0 deletions