X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fjpegls.h;h=6b89b2afa3dfe195466244b241bce6be36149211;hb=2d3df8e2e9e60829c6cd392e334bf0302b8b59bb;hp=c8997c786185c9654cd53767ada349ee4e2aaa9f;hpb=ab77c4007b2f662125698569cb2bac2c48851282;p=ffmpeg diff --git a/libavcodec/jpegls.h b/libavcodec/jpegls.h index c8997c78618..6b89b2afa3d 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;