changeset 34721:9944765ea06b

add ffatrac1 codec, works on A-codecs/ATRAC1/
author compn
date Sun, 11 Mar 2012 16:27:32 +0000
parents cf625557afab
children 2d928e78d248
files etc/codecs.conf libmpdemux/mp_taglists.c
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/etc/codecs.conf	Sun Mar 11 15:45:10 2012 +0000
+++ b/etc/codecs.conf	Sun Mar 11 16:27:32 2012 +0000
@@ -4194,6 +4194,13 @@
   driver ffmpeg
   dll "cook"
 
+audiocodec ffatrc1
+  info "FFmpeg Atrac 1 audio"
+  status working
+  fourcc ATR1 ; internal MPlayer FourCC
+  driver ffmpeg
+  dll "atrac1"
+
 audiocodec ffatrc
   info "FFmpeg Atrac 3 audio"
   status working
--- a/libmpdemux/mp_taglists.c	Sun Mar 11 15:45:10 2012 +0000
+++ b/libmpdemux/mp_taglists.c	Sun Mar 11 16:27:32 2012 +0000
@@ -37,6 +37,7 @@
     { CODEC_ID_ADPCM_THP,         MKTAG('T', 'H', 'P', 'A')},
     { CODEC_ID_ADPCM_XA,          MKTAG('P', 'S', 'X', 'A')},
     { CODEC_ID_AMR_NB,            MKTAG('n', 'b',   0,   0)},
+    { CODEC_ID_ATRAC1,            MKTAG('A', 'T', 'R', '1')},
     { CODEC_ID_BINKAUDIO_DCT,     MKTAG('B', 'A', 'U', '1')},
     { CODEC_ID_BINKAUDIO_RDFT,    MKTAG('B', 'A', 'U', '2')},
     { CODEC_ID_BMV_AUDIO,         MKTAG('B', 'M', 'V', 'A')},