summaryrefslogtreecommitdiff
path: root/libavcodec/jpegls.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/jpegls.h')
-rw-r--r--libavcodec/jpegls.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/jpegls.h b/libavcodec/jpegls.h
index c8997c7861..6b89b2afa3 100644
--- a/libavcodec/jpegls.h
+++ b/libavcodec/jpegls.h
@@ -32,6 +32,8 @@
#include "avcodec.h"
#include "internal.h"
+#undef near /* This file uses struct member 'near' which in windows.h is defined as empty. */
+
typedef struct JpeglsContext {
AVCodecContext *avctx;
} JpeglsContext;