Mercurial > libavcodec.hg
comparison qcelpdec.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 | 59be1a7be21f |
children | 7dd2a45249a9 |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
811 } | 811 } |
812 | 812 |
813 AVCodec qcelp_decoder = | 813 AVCodec qcelp_decoder = |
814 { | 814 { |
815 .name = "qcelp", | 815 .name = "qcelp", |
816 .type = CODEC_TYPE_AUDIO, | 816 .type = AVMEDIA_TYPE_AUDIO, |
817 .id = CODEC_ID_QCELP, | 817 .id = CODEC_ID_QCELP, |
818 .init = qcelp_decode_init, | 818 .init = qcelp_decode_init, |
819 .decode = qcelp_decode_frame, | 819 .decode = qcelp_decode_frame, |
820 .priv_data_size = sizeof(QCELPContext), | 820 .priv_data_size = sizeof(QCELPContext), |
821 .long_name = NULL_IF_CONFIG_SMALL("QCELP / PureVoice"), | 821 .long_name = NULL_IF_CONFIG_SMALL("QCELP / PureVoice"), |