diff options
author | David Monro <davidm@davidmonro.net> | 2016-02-14 18:02:22 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2016-02-14 18:02:22 +0100 |
commit | 4b750104ea2b8dec4e055216a047092650a3ba25 (patch) | |
tree | ab5093b503683588614b78c1fb07e9e550419efc /libavformat/spdifenc.c | |
parent | 45743239738bd74de6be475cd5abe4bcbee9f81c (diff) | |
download | ffmpeg-4b750104ea2b8dec4e055216a047092650a3ba25.tar.gz |
lavf/spdifenc: Support MLP encapsulation.
Fixes bug 821.
Signed-off-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
Diffstat (limited to 'libavformat/spdifenc.c')
-rw-r--r-- | libavformat/spdifenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/spdifenc.c b/libavformat/spdifenc.c index b4608a1c7c..64c5f38875 100644 --- a/libavformat/spdifenc.c +++ b/libavformat/spdifenc.c @@ -463,6 +463,7 @@ static int spdif_write_header(AVFormatContext *s) ctx->header_info = spdif_header_aac; break; case AV_CODEC_ID_TRUEHD: + case AV_CODEC_ID_MLP: ctx->header_info = spdif_header_truehd; ctx->hd_buf = av_malloc(MAT_FRAME_SIZE); if (!ctx->hd_buf) |