Mercurial > libavcodec.hg
comparison qdm2.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 | 424b8482f316 |
children | 7dd2a45249a9 |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
1972 } | 1972 } |
1973 | 1973 |
1974 AVCodec qdm2_decoder = | 1974 AVCodec qdm2_decoder = |
1975 { | 1975 { |
1976 .name = "qdm2", | 1976 .name = "qdm2", |
1977 .type = CODEC_TYPE_AUDIO, | 1977 .type = AVMEDIA_TYPE_AUDIO, |
1978 .id = CODEC_ID_QDM2, | 1978 .id = CODEC_ID_QDM2, |
1979 .priv_data_size = sizeof(QDM2Context), | 1979 .priv_data_size = sizeof(QDM2Context), |
1980 .init = qdm2_decode_init, | 1980 .init = qdm2_decode_init, |
1981 .close = qdm2_decode_close, | 1981 .close = qdm2_decode_close, |
1982 .decode = qdm2_decode_frame, | 1982 .decode = qdm2_decode_frame, |