Mercurial > libavcodec.hg
comparison mace.c @ 11560:8a4984c5cacc libavcodec
Define AVMediaType enum, and use it instead of enum CodecType, which
is deprecated and will be dropped at the next major bump.
author | stefano |
---|---|
date | Tue, 30 Mar 2010 23:30:55 +0000 |
parents | 54bc8a2727b0 |
children | 7dd2a45249a9 |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
279 return buf_size; | 279 return buf_size; |
280 } | 280 } |
281 | 281 |
282 AVCodec mace3_decoder = { | 282 AVCodec mace3_decoder = { |
283 "mace3", | 283 "mace3", |
284 CODEC_TYPE_AUDIO, | 284 AVMEDIA_TYPE_AUDIO, |
285 CODEC_ID_MACE3, | 285 CODEC_ID_MACE3, |
286 sizeof(MACEContext), | 286 sizeof(MACEContext), |
287 mace_decode_init, | 287 mace_decode_init, |
288 NULL, | 288 NULL, |
289 NULL, | 289 NULL, |
291 .long_name = NULL_IF_CONFIG_SMALL("MACE (Macintosh Audio Compression/Expansion) 3:1"), | 291 .long_name = NULL_IF_CONFIG_SMALL("MACE (Macintosh Audio Compression/Expansion) 3:1"), |
292 }; | 292 }; |
293 | 293 |
294 AVCodec mace6_decoder = { | 294 AVCodec mace6_decoder = { |
295 "mace6", | 295 "mace6", |
296 CODEC_TYPE_AUDIO, | 296 AVMEDIA_TYPE_AUDIO, |
297 CODEC_ID_MACE6, | 297 CODEC_ID_MACE6, |
298 sizeof(MACEContext), | 298 sizeof(MACEContext), |
299 mace_decode_init, | 299 mace_decode_init, |
300 NULL, | 300 NULL, |
301 NULL, | 301 NULL, |