Mercurial > libavcodec.hg
comparison ws-snd1.c @ 4019:6d4ac21853d7 libavcodec
Remove empty structures,
Patch by Steve LHomme
Original thread:
Date: 13.10.2006 21:55
Subject: [Ffmpeg-devel] [PATCH] Remove empty structures
author | gpoirier |
---|---|
date | Sat, 14 Oct 2006 14:48:45 +0000 |
parents | c8c591fe26f8 |
children | 05e932ddaaa9 |
comparison
equal
deleted
inserted
replaced
4018:9c8ab288ebf6 | 4019:6d4ac21853d7 |
---|---|
26 * | 26 * |
27 * Reference documents about VQA format and its audio codecs | 27 * Reference documents about VQA format and its audio codecs |
28 * can be found here: | 28 * can be found here: |
29 * http://www.multimedia.cx | 29 * http://www.multimedia.cx |
30 */ | 30 */ |
31 | |
32 typedef struct { | |
33 } WSSNDContext; | |
34 | 31 |
35 static const char ws_adpcm_2bit[] = { -2, -1, 0, 1}; | 32 static const char ws_adpcm_2bit[] = { -2, -1, 0, 1}; |
36 static const char ws_adpcm_4bit[] = { | 33 static const char ws_adpcm_4bit[] = { |
37 -9, -8, -6, -5, -4, -3, -2, -1, | 34 -9, -8, -6, -5, -4, -3, -2, -1, |
38 0, 1, 2, 3, 4, 5, 6, 8 }; | 35 0, 1, 2, 3, 4, 5, 6, 8 }; |
137 | 134 |
138 AVCodec ws_snd1_decoder = { | 135 AVCodec ws_snd1_decoder = { |
139 "ws_snd1", | 136 "ws_snd1", |
140 CODEC_TYPE_AUDIO, | 137 CODEC_TYPE_AUDIO, |
141 CODEC_ID_WESTWOOD_SND1, | 138 CODEC_ID_WESTWOOD_SND1, |
142 sizeof(WSSNDContext), | 139 0, |
143 ws_snd_decode_init, | 140 ws_snd_decode_init, |
144 NULL, | 141 NULL, |
145 NULL, | 142 NULL, |
146 ws_snd_decode_frame, | 143 ws_snd_decode_frame, |
147 }; | 144 }; |