summaryrefslogtreecommitdiffstats
path: root/video/sws_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/sws_utils.h')
-rw-r--r--video/sws_utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/sws_utils.h b/video/sws_utils.h
index 41472b5ecf..629e6be2dd 100644
--- a/video/sws_utils.h
+++ b/video/sws_utils.h
@@ -11,7 +11,7 @@ struct mpv_global;
// libswscale currently requires 16 bytes alignment for row pointers and
// strides. Otherwise, it will print warnings and use slow codepaths.
// Guaranteed to be a power of 2 and > 1.
-#define SWS_MIN_BYTE_ALIGN 16
+#define SWS_MIN_BYTE_ALIGN MP_IMAGE_BYTE_ALIGN
extern const int mp_sws_hq_flags;
extern const int mp_sws_fast_flags;