Mercurial > libavcodec.hg
comparison dpcm.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 | 560095a27bd0 |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
299 } | 299 } |
300 | 300 |
301 #define DPCM_DECODER(id, name, long_name_) \ | 301 #define DPCM_DECODER(id, name, long_name_) \ |
302 AVCodec name ## _decoder = { \ | 302 AVCodec name ## _decoder = { \ |
303 #name, \ | 303 #name, \ |
304 CODEC_TYPE_AUDIO, \ | 304 AVMEDIA_TYPE_AUDIO, \ |
305 id, \ | 305 id, \ |
306 sizeof(DPCMContext), \ | 306 sizeof(DPCMContext), \ |
307 dpcm_decode_init, \ | 307 dpcm_decode_init, \ |
308 NULL, \ | 308 NULL, \ |
309 NULL, \ | 309 NULL, \ |