summaryrefslogtreecommitdiffstats
path: root/video/img_format.h
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2023-10-20 23:10:36 +0600
committerDudemanguy <random342@airmail.cc>2023-10-23 00:10:42 +0000
commitb26d2ab01c8de2404ed6c05db877db0e9fb84e12 (patch)
tree28159d0d8709d8d25a50e5d0ba7c614fcbfe4e08 /video/img_format.h
parent876915edd304aba1bbdf0c51befe8ea4e5ba7199 (diff)
downloadmpv-b26d2ab01c8de2404ed6c05db877db0e9fb84e12.tar.bz2
mpv-b26d2ab01c8de2404ed6c05db877db0e9fb84e12.tar.xz
img_format: remove duplicated macros
these are defined in osdep/endian.h already
Diffstat (limited to 'video/img_format.h')
-rw-r--r--video/img_format.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/video/img_format.h b/video/img_format.h
index 2091e00598..0753829366 100644
--- a/video/img_format.h
+++ b/video/img_format.h
@@ -25,12 +25,6 @@
#include "misc/bstr.h"
#include "video/csputils.h"
-#if BYTE_ORDER == BIG_ENDIAN
-#define MP_SELECT_LE_BE(LE, BE) BE
-#else
-#define MP_SELECT_LE_BE(LE, BE) LE
-#endif
-
#define MP_MAX_PLANES 4
#define MP_NUM_COMPONENTS 4