#pragma once #include "guiddef.h" #include "uuids.h" extern "C" { #include "libswscale/swscale.h" #include "libavformat/avformat.h" #include "libavcodec/avcodec.h" #include "libswscale/swscale.h" #include "libavutil/pixfmt.h" } AVPixelFormat GetFormatFromGuid(GUID g);