diff options
Diffstat (limited to 'decoder')
-rw-r--r-- | decoder/LAVAudio/parser/dts.cpp | 1 | ||||
-rw-r--r-- | decoder/LAVAudio/stdafx.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/decoder/LAVAudio/parser/dts.cpp b/decoder/LAVAudio/parser/dts.cpp index 35264a4f..adcae6fc 100644 --- a/decoder/LAVAudio/parser/dts.cpp +++ b/decoder/LAVAudio/parser/dts.cpp @@ -27,6 +27,7 @@ extern "C" { #pragma warning( disable : 4018 ) #pragma warning( disable : 4244 ) #pragma warning( disable : 4305 ) +#define FF_API_PIX_FMT 0 #include "libavcodec/avcodec.h" #include "libavcodec/get_bits.h" #include "libavcodec/dcadata.h" diff --git a/decoder/LAVAudio/stdafx.h b/decoder/LAVAudio/stdafx.h index 484ca656..f2058bd9 100644 --- a/decoder/LAVAudio/stdafx.h +++ b/decoder/LAVAudio/stdafx.h @@ -40,6 +40,7 @@ #pragma warning(disable:4244) extern "C" { #define __STDC_CONSTANT_MACROS +#define FF_API_PIX_FMT 0 #include "libavformat/avformat.h" #include "libavcodec/avcodec.h" #include "libavutil/opt.h" |