Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/LAVFilters.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2014-12-31 12:54:08 +0300
committerHendrik Leppkes <h.leppkes@gmail.com>2014-12-31 12:54:08 +0300
commit7ea5fcbaaec51d5d7cafa52fa68f6a2f81d5a26c (patch)
treed6fac057ad456323d24836b54868314eb2cb27e8 /decoder
parenta7c0b2dfe8aa7a61c85efd9762f3455f0aeb7542 (diff)
Add missing version defines
Diffstat (limited to 'decoder')
-rw-r--r--decoder/LAVAudio/parser/dts.cpp1
-rw-r--r--decoder/LAVAudio/stdafx.h1
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"