summaryrefslogtreecommitdiff
path: root/libavcodec/mlp.h
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2014-09-26 13:49:21 +0200
committerAnton Khirnov <anton@khirnov.net>2015-03-11 16:06:40 +0100
commitdc2d0e06af459af9a7f91b65e0a3119acc4f1baa (patch)
treeab6eec3b82b4242922f48bf5ca8ef7548c5670b2 /libavcodec/mlp.h
parentf36f6a608b5b2c17f8876195c61621c8f8607cee (diff)
mlpdec: support TrueHD streams with an Atmos substream
The fourth substream is being discarded, since its not raw audio data, but an encoded Atmos stream which needs a specialized decoder. Fixes decoding of the true hd stream from Transformers\ -\ Age\ of\ Extinction\ 2014\ 1080P-003.mkv Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/mlp.h')
-rw-r--r--libavcodec/mlp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mlp.h b/libavcodec/mlp.h
index 5a4ee5fc42..8a1584e112 100644
--- a/libavcodec/mlp.h
+++ b/libavcodec/mlp.h
@@ -45,7 +45,7 @@
/** Maximum number of substreams that can be decoded.
* MLP's limit is 2. TrueHD supports at least up to 3.
*/
-#define MAX_SUBSTREAMS 3
+#define MAX_SUBSTREAMS 4
/** which multiple of 48000 the maximum sample rate is */
#define MAX_RATEFACTOR 4