diff options
| author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-06-26 02:48:47 -0300 |
|---|---|---|
| committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-06-26 03:29:31 -0300 |
| commit | d5154a3b1921cce5dc6d4847b5c00303bcc15cfa (patch) | |
| tree | f91a89c1da9fd1857649ac00aa5aaded39f1c2a1 /src/video_core/command_classes/codecs | |
| parent | 0435cb0ffcce01ffd92a4a27c792306d92d2bf70 (diff) | |
codec,vic: Disable warnings in ffmpeg headers
Diffstat (limited to 'src/video_core/command_classes/codecs')
| -rw-r--r-- | src/video_core/command_classes/codecs/codec.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/video_core/command_classes/codecs/codec.h b/src/video_core/command_classes/codecs/codec.h index 8a2a6c360d..3e135a2a63 100644 --- a/src/video_core/command_classes/codecs/codec.h +++ b/src/video_core/command_classes/codecs/codec.h @@ -14,10 +14,18 @@ extern "C" { #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wconversion" #endif +#ifdef _MSC_VER +#pragma warning(push) +#pragma warning(disable : 4242) // conversion from 'type' to 'type', possible loss of data +#pragma warning(disable : 4244) // conversion from 'type' to 'type', possible loss of data +#endif #include <libavcodec/avcodec.h> #if defined(__GNUC__) || defined(__clang__) #pragma GCC diagnostic pop #endif +#ifdef _MSC_VER +#pragma warning(pop) +#endif } namespace Tegra { |
