Mercurial > libavcodec.hg
comparison imc.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 | 4b3da727d832 |
children | 7dd2a45249a9 |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
821 } | 821 } |
822 | 822 |
823 | 823 |
824 AVCodec imc_decoder = { | 824 AVCodec imc_decoder = { |
825 .name = "imc", | 825 .name = "imc", |
826 .type = CODEC_TYPE_AUDIO, | 826 .type = AVMEDIA_TYPE_AUDIO, |
827 .id = CODEC_ID_IMC, | 827 .id = CODEC_ID_IMC, |
828 .priv_data_size = sizeof(IMCContext), | 828 .priv_data_size = sizeof(IMCContext), |
829 .init = imc_decode_init, | 829 .init = imc_decode_init, |
830 .close = imc_decode_close, | 830 .close = imc_decode_close, |
831 .decode = imc_decode_frame, | 831 .decode = imc_decode_frame, |