summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2010-06-18 07:54:45 +0000
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2010-06-18 07:54:45 +0000
commita80af87eea88a674375637ccfb54b41526f774a4 (patch)
tree3975665eb52965d42d25365d02ab83d982effb67
parent9164afcbf9155440e814dd9c22cc2f36965686d0 (diff)
downloadffmpeg-a80af87eea88a674375637ccfb54b41526f774a4.tar.gz
Add IEC958 data_types for Atrac* and WMA Pro.
Data-burst is described in IEC 61937-7 (Atrac) and IEC 61937-8 (WMA Pro). Originally committed as revision 23641 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/spdif.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavformat/spdif.c b/libavformat/spdif.c
index 1c53f736c7..cb2756f5ab 100644
--- a/libavformat/spdif.c
+++ b/libavformat/spdif.c
@@ -61,6 +61,10 @@ enum IEC958DataType {
IEC958_DTS1 = 0x0B, ///< DTS type I (512 samples)
IEC958_DTS2 = 0x0C, ///< DTS type II (1024 samples)
IEC958_DTS3 = 0x0D, ///< DTS type III (2048 samples)
+ IEC958_ATRAC = 0x0E, ///< Atrac data
+ IEC958_ATRAC3 = 0x0F, ///< Atrac 3 data
+ IEC958_ATRACX = 0x10, ///< Atrac 3 plus data
+ IEC958_WMAPRO = 0x12, ///< WMA 9 Professional data
IEC958_MPEG2_AAC_LSF_2048 = 0x13, ///< MPEG-2 AAC ADTS half-rate low sampling frequency
IEC958_MPEG2_AAC_LSF_4096 = 0x13 | 0x20, ///< MPEG-2 AAC ADTS quarter-rate low sampling frequency
};