comparison voc.c @ 1677:2a85c82b8538 libavformat

add codec_id <-> codec_tag tables to AVIn/OutputFormat
author michael
date Sun, 21 Jan 2007 01:39:17 +0000
parents 6dc55143f99f
children 06083249909c
comparison
equal deleted inserted replaced
1676:507177b7444c 1677:2a85c82b8538
21 21
22 #include "voc.h" 22 #include "voc.h"
23 23
24 const unsigned char voc_magic[21] = "Creative Voice File\x1A"; 24 const unsigned char voc_magic[21] = "Creative Voice File\x1A";
25 25
26 const CodecTag voc_codec_tags[] = { 26 const AVCodecTag voc_codec_tags[] = {
27 {CODEC_ID_PCM_U8, 0x00}, 27 {CODEC_ID_PCM_U8, 0x00},
28 {CODEC_ID_ADPCM_SBPRO_4, 0x01}, 28 {CODEC_ID_ADPCM_SBPRO_4, 0x01},
29 {CODEC_ID_ADPCM_SBPRO_3, 0x02}, 29 {CODEC_ID_ADPCM_SBPRO_3, 0x02},
30 {CODEC_ID_ADPCM_SBPRO_2, 0x03}, 30 {CODEC_ID_ADPCM_SBPRO_2, 0x03},
31 {CODEC_ID_PCM_S16LE, 0x04}, 31 {CODEC_ID_PCM_S16LE, 0x04},