Commit 4b750104 authored by David Monro's avatar David Monro Committed by Carl Eugen Hoyos

lavf/spdifenc: Support MLP encapsulation.

Fixes bug 821.
Signed-off-by: 's avatarCarl Eugen Hoyos <cehoyos@ag.or.at>
parent 45743239
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment