diff --git a/libavcodec/mf_utils.h b/libavcodec/mf_utils.h index 39d5844ff64cfa9e24d5d86785d880f87cadebd4..4373e62ed266aaef7646bb6114ab6287f9526bf8 100644 --- a/libavcodec/mf_utils.h +++ b/libavcodec/mf_utils.h @@ -28,6 +28,9 @@ // of including it though, through strmif.h via dshow.h. And on mingw, the // mf*.h headers below indirectly include strmif.h.) #include +// Clang in MSVC mode fails on codecapi.h if we haven't included uuids.h +// before, while it seems to work fine with MSVC itself. +#include #else #include #endif