comparison mace.c @ 8002:f94fb6a31d5c libavcodec

Cosmetics: rename mace3_decode_frame() to mace_decode_frame()
author vitor
date Sun, 05 Oct 2008 20:12:20 +0000
parents 038bb3b45b34
children e9d9d946f213
comparison
equal deleted inserted replaced
8001:038bb3b45b34 8002:f94fb6a31d5c
232 return -1; 232 return -1;
233 avctx->sample_fmt = SAMPLE_FMT_S16; 233 avctx->sample_fmt = SAMPLE_FMT_S16;
234 return 0; 234 return 0;
235 } 235 }
236 236
237 static int mace3_decode_frame(AVCodecContext *avctx, 237 static int mace_decode_frame(AVCodecContext *avctx,
238 void *data, int *data_size, 238 void *data, int *data_size,
239 const uint8_t *buf, int buf_size) 239 const uint8_t *buf, int buf_size)
240 { 240 {
241 int16_t *samples = data; 241 int16_t *samples = data;
242 MACEContext *ctx = avctx->priv_data; 242 MACEContext *ctx = avctx->priv_data;
283 CODEC_ID_MACE3, 283 CODEC_ID_MACE3,
284 sizeof(MACEContext), 284 sizeof(MACEContext),
285 mace_decode_init, 285 mace_decode_init,
286 NULL, 286 NULL,
287 NULL, 287 NULL,
288 mace3_decode_frame, 288 mace_decode_frame,
289 .long_name = NULL_IF_CONFIG_SMALL("MACE (Macintosh Audio Compression/Expansion) 3:1"), 289 .long_name = NULL_IF_CONFIG_SMALL("MACE (Macintosh Audio Compression/Expansion) 3:1"),
290 }; 290 };
291 291
292 AVCodec mace6_decoder = { 292 AVCodec mace6_decoder = {
293 "mace6", 293 "mace6",
295 CODEC_ID_MACE6, 295 CODEC_ID_MACE6,
296 sizeof(MACEContext), 296 sizeof(MACEContext),
297 mace_decode_init, 297 mace_decode_init,
298 NULL, 298 NULL,
299 NULL, 299 NULL,
300 mace3_decode_frame, 300 mace_decode_frame,
301 .long_name = NULL_IF_CONFIG_SMALL("MACE (Macintosh Audio Compression/Expansion) 6:1"), 301 .long_name = NULL_IF_CONFIG_SMALL("MACE (Macintosh Audio Compression/Expansion) 6:1"),
302 }; 302 };
303 303