summaryrefslogtreecommitdiff
path: root/libavcodec/wmadec.c
diff options
context:
space:
mode:
authorMike Melanson <mike@multimedia.cx>2004-04-24 19:30:49 +0000
committerMike Melanson <mike@multimedia.cx>2004-04-24 19:30:49 +0000
commit7e56cd927b5842fa74ec8b5fddf6ac2b6a40145c (patch)
tree4826b0b125e0e9ba16792f15f1c6c18359629539 /libavcodec/wmadec.c
parent0f12310fe2b3e681889645f1427a8aeadf76b4d6 (diff)
add the minimal documentation to make this decoder useful
Originally committed as revision 3059 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/wmadec.c')
-rw-r--r--libavcodec/wmadec.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/libavcodec/wmadec.c b/libavcodec/wmadec.c
index 25498c4d28..cf2db14946 100644
--- a/libavcodec/wmadec.c
+++ b/libavcodec/wmadec.c
@@ -20,6 +20,15 @@
/**
* @file wmadec.c
* WMA compatible decoder.
+ * This decoder handles Microsoft Windows Media Audio data, versions 1 & 2.
+ * WMA v1 is identified by audio format 0x160 in Microsoft media files
+ * (ASF/AVI/WAV). WMA v2 is identified by audio format 0x161.
+ *
+ * To use this decoder, a calling application must supply the extra data
+ * bytes provided with the WMA data. These are the extra, codec-specific
+ * bytes at the end of a WAVEFORMATEX data structure. Transmit these bytes
+ * to the decoder using the extradata[_size] fields in AVCodecContext. There
+ * should be 4 extra bytes for v1 data and 6 extra bytes for v2 data.
*/
#include "avcodec.h"