[FFmpeg-cvslog] lavf/spdifenc: Support MLP encapsulation.
David Monro
git at videolan.org
Sun Feb 14 18:02:43 CET 2016
ffmpeg | branch: master | David Monro <davidm at davidmonro.net> | Sun Feb 14 18:02:22 2016 +0100| [4b750104ea2b8dec4e055216a047092650a3ba25] | committer: Carl Eugen Hoyos
lavf/spdifenc: Support MLP encapsulation.
Fixes bug 821.
Signed-off-by: Carl Eugen Hoyos <cehoyos at ag.or.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4b750104ea2b8dec4e055216a047092650a3ba25
---
libavformat/spdifenc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavformat/spdifenc.c b/libavformat/spdifenc.c
index b4608a1..64c5f38 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)
More information about the ffmpeg-cvslog
mailing list