[MPlayer-dev-eng] [PATCH] Support FFmpeg APC ADPCM IMA audio decoder
Paul B Mahol
onemda at gmail.com
Wed Jul 18 19:53:44 CEST 2012
Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
etc/codecs.conf | 7 +++++++
libmpdemux/mp_taglists.c | 1 +
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/etc/codecs.conf b/etc/codecs.conf
index b0f6d06..432e851 100644
--- a/etc/codecs.conf
+++ b/etc/codecs.conf
@@ -4462,6 +4462,13 @@ audiocodec ffadpcmimaamv
driver ffmpeg
dll adpcm_ima_amv
+audiocodec ffadpcmimaapc
+ info "FFmpeg APC IMA ADPCM audio"
+ status working
+ fourcc APCA ; internal MPlayer FourCC
+ driver ffmpeg
+ dll adpcm_ima_apc
+
audiocodec ffadpcmimasmjpeg
info "FFmpeg SMJPEG IMA ADPCM audio"
status working
diff --git a/libmpdemux/mp_taglists.c b/libmpdemux/mp_taglists.c
index fdd2cd5..13e0b88 100644
--- a/libmpdemux/mp_taglists.c
+++ b/libmpdemux/mp_taglists.c
@@ -29,6 +29,7 @@
static const struct AVCodecTag mp_wav_tags[] = {
{ CODEC_ID_ADPCM_4XM, MKTAG('4', 'X', 'M', 'A')},
{ CODEC_ID_ADPCM_ADX, MKTAG('S', 'a', 'd', 'x')},
+ { CODEC_ID_ADPCM_IMA_APC, MKTAG('A', 'P', 'C', 'A')},
{ CODEC_ID_ADPCM_EA, MKTAG('A', 'D', 'E', 'A')},
{ CODEC_ID_ADPCM_EA_R1, MKTAG('E', 'A', 'R', '1')},
{ CODEC_ID_ADPCM_EA_R2, MKTAG('E', 'A', 'R', '2')},
--
1.7.7
More information about the MPlayer-dev-eng
mailing list