summaryrefslogtreecommitdiffstats
path: root/video/sws_utils.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-05-20 18:31:16 +0200
committerwm4 <wm4@nowhere>2020-05-20 18:38:19 +0200
commitd291673d40833f2249cd62f0ec690bf3aef38a73 (patch)
tree4250d4a436e0734e42b220a6f002ed7b327676d1 /video/sws_utils.c
parent086953a9da6c96bdd514127adc3ad5fc8a771da5 (diff)
downloadmpv-d291673d40833f2249cd62f0ec690bf3aef38a73.tar.bz2
mpv-d291673d40833f2249cd62f0ec690bf3aef38a73.tar.xz
vo_x11: minor improvement in format matching
Make sure to accept only native endian mpv formats. Previously, it didn't check, and simply matched LE, because these are usually defined before the BE formats. red_mask etc. are defined as unsigned long, so use that instead of hardcoding a 32 bit limit.
Diffstat (limited to 'video/sws_utils.c')
0 files changed, 0 insertions, 0 deletions