summaryrefslogtreecommitdiff
path: root/libswscale/swscale_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'libswscale/swscale_internal.h')
-rw-r--r--libswscale/swscale_internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h
index 0d60dd2e6f..e6e7b934b6 100644
--- a/libswscale/swscale_internal.h
+++ b/libswscale/swscale_internal.h
@@ -21,6 +21,8 @@
#ifndef SWSCALE_SWSCALE_INTERNAL_H
#define SWSCALE_SWSCALE_INTERNAL_H
+#include <stdatomic.h>
+
#include "config.h"
#include "version.h"
@@ -672,6 +674,8 @@ typedef struct SwsContext {
unsigned int xyz_scratch_allocated;
unsigned int dst_slice_align;
+ atomic_int stride_unaligned_warned;
+ atomic_int data_unaligned_warned;
} SwsContext;
//FIXME check init (where 0)