comparison wmadec.c @ 1967:2b0fc6b25ab8 libavcodec

add the minimal documentation to make this decoder useful
author melanson
date Sat, 24 Apr 2004 19:30:49 +0000
parents 610617f1dbd0
children 770743eb4329
comparison
equal deleted inserted replaced
1966:e1fc7c598558 1967:2b0fc6b25ab8
18 */ 18 */
19 19
20 /** 20 /**
21 * @file wmadec.c 21 * @file wmadec.c
22 * WMA compatible decoder. 22 * WMA compatible decoder.
23 * This decoder handles Microsoft Windows Media Audio data, versions 1 & 2.
24 * WMA v1 is identified by audio format 0x160 in Microsoft media files
25 * (ASF/AVI/WAV). WMA v2 is identified by audio format 0x161.
26 *
27 * To use this decoder, a calling application must supply the extra data
28 * bytes provided with the WMA data. These are the extra, codec-specific
29 * bytes at the end of a WAVEFORMATEX data structure. Transmit these bytes
30 * to the decoder using the extradata[_size] fields in AVCodecContext. There
31 * should be 4 extra bytes for v1 data and 6 extra bytes for v2 data.
23 */ 32 */
24 33
25 #include "avcodec.h" 34 #include "avcodec.h"
26 #include "dsputil.h" 35 #include "dsputil.h"
27 36