summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/spdifenc.c1
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)