mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-22 10:45:53 +08:00
10l, missing () in check for 32bit endian-conversion hack
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21615 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
+1
-1
@@ -556,7 +556,7 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width,
|
||||
out_offset = 0;
|
||||
// for these formats conversion is currently not support and
|
||||
// we can easily "emulate" them.
|
||||
if (out_format & 64 && IMGFMT_IS_RGB(out_format) || IMGFMT_IS_BGR(out_format)) {
|
||||
if (out_format & 64 && (IMGFMT_IS_RGB(out_format) || IMGFMT_IS_BGR(out_format))) {
|
||||
out_format &= ~64;
|
||||
#ifdef WORDS_BIGENDIAN
|
||||
out_offset = 1;
|
||||
|
||||
Reference in New Issue
Block a user