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>2015-03-04 00:28:07 +0300
committerHendrik Leppkes <h.leppkes@gmail.com>2015-03-04 00:28:07 +0300
commitfabb6665689b18114144f9f147c5061a8e55bed1 (patch)
tree3320503bbf43d3eadb547f96fa97cd63c48ba795
parent1969fa346643fb624349356dc526071827c51b72 (diff)
Don't include dcadata.h anymore
Using private headers from ffmpeg should be avoided
-rw-r--r--decoder/LAVAudio/DTSDecoder.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/decoder/LAVAudio/DTSDecoder.cpp b/decoder/LAVAudio/DTSDecoder.cpp
index 6b699c0f..f2c3ea86 100644
--- a/decoder/LAVAudio/DTSDecoder.cpp
+++ b/decoder/LAVAudio/DTSDecoder.cpp
@@ -24,10 +24,9 @@
#include <Shlwapi.h>
-#pragma warning( push )
-#pragma warning( disable : 4305 )
-#include "libavcodec/dcadata.h"
-#pragma warning( pop )
+static const uint8_t dca_channels[16] = {
+ 1, 2, 2, 2, 2, 3, 3, 4, 4, 5, 6, 6, 6, 7, 8, 8
+};
/** Taken from ffmpeg libavcodec/dca.c */
static const int64_t dca_core_channel_layout[] = {