Browse Source

lavf/spdifenc: Support MLP encapsulation.

Fixes bug 821.

Signed-off-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
tags/n3.0
David Monro Carl Eugen Hoyos 10 years ago
parent
commit
4b750104ea
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavformat/spdifenc.c

+ 1
- 0
libavformat/spdifenc.c View File

@@ -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)


Loading…
Cancel
Save