[FFmpeg-devel] [PATCH] fix MSVC compilation errors

Derek Buitenhuis derek.buitenhuis at gmail.com
Mon Dec 4 16:02:56 EET 2017


On 12/4/2017 8:03 AM, Mateusz wrote:
> After commit 3701d49 'error_resilience: remove avpriv_atomic usage'
> we have included windows.h in much more files and we should
> avoid conflicts with defines/function declarations.
> 
> Signed-off-by: Mateusz Brzostek <mateuszb at poczta.onet.pl>
> ---
>  libavcodec/jpegls.h  | 4 ++++
>  libavcodec/mss2.c    | 6 +++---
>  libavformat/mxfenc.c | 2 +-
>  3 files changed, 8 insertions(+), 4 deletions(-)

Sprinkling these weird ifdefs and renames around is pretty ugly. Is there
some sort of canonical list on MSDN or something we can use globally-ish?

- Derek


More information about the ffmpeg-devel mailing list