[vlc-devel] commit: Support for Atrac1 codec (Jean-Baptiste Kempf )
git version control
git at videolan.org
Mon Sep 28 08:32:17 CEST 2009
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Sep 28 00:54:52 2009 +0200| [298a634e00ffd2c9e6d18d0c3aac4fc477e1f710] | committer: Jean-Baptiste Kempf
Support for Atrac1 codec
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=298a634e00ffd2c9e6d18d0c3aac4fc477e1f710
---
NEWS | 3 +++
include/vlc_fourcc.h | 1 +
modules/codec/avcodec/fourcc.c | 3 +++
src/misc/fourcc.c | 3 +++
4 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/NEWS b/NEWS
index cdf3012..1115eab 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,9 @@ Changes between 1.0.2 and 1.1.0-git:
Access:
* Port of the screen module from Xlib to XCB
+Decoders:
+ * Support for Atrac1
+
Demuxers:
* Support for ADPCM in .flv streams
* EXPERIMENTAL support for .aob files from DVD-Audio (MLP and LPCM)
diff --git a/include/vlc_fourcc.h b/include/vlc_fourcc.h
index 59a92e6..50fde98 100644
--- a/include/vlc_fourcc.h
+++ b/include/vlc_fourcc.h
@@ -233,6 +233,7 @@
#define VLC_CODEC_WAVPACK VLC_FOURCC('W','V','P','K')
#define VLC_CODEC_GSM VLC_FOURCC('g','s','m',' ')
#define VLC_CODEC_GSM_MS VLC_FOURCC('a','g','s','m')
+#define VLC_CODEC_ATRAC1 VLC_FOURCC('a','t','r','1')
#define VLC_CODEC_ATRAC3 VLC_FOURCC('a','t','r','c')
#define VLC_CODEC_SONIC VLC_FOURCC('S','O','N','C')
#define VLC_CODEC_IMC VLC_FOURCC(0x1,0x4,0x0,0x0)
diff --git a/modules/codec/avcodec/fourcc.c b/modules/codec/avcodec/fourcc.c
index 865c55d..567a5ac 100644
--- a/modules/codec/avcodec/fourcc.c
+++ b/modules/codec/avcodec/fourcc.c
@@ -333,6 +333,9 @@ static const struct
#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 52, 34, 0 )
{ VLC_CODEC_TWINVQ, CODEC_ID_TWINVQ, AUDIO_ES },
#endif
+#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 52, 36, 0 )
+ { VLC_CODEC_ATRAC1, CODEC_ID_ATRAC1, AUDIO_ES },
+#endif
/* Lossless */
{ VLC_CODEC_FLAC, CODEC_ID_FLAC, AUDIO_ES },
diff --git a/src/misc/fourcc.c b/src/misc/fourcc.c
index 7acc8f7..521c7ce 100644
--- a/src/misc/fourcc.c
+++ b/src/misc/fourcc.c
@@ -954,6 +954,9 @@ static const entry_t p_list_audio[] = {
B(VLC_CODEC_GSM_MS, "Microsoft GSM Audio"),
A("agsm"),
+ B(VLC_CODEC_ATRAC1, "atrac 1"),
+ A("atr1"),
+
B(VLC_CODEC_ATRAC3, "atrac 3"),
A("atrc"),
A("\x70\x02\x00\x00"),
More information about the vlc-devel
mailing list