comparison wmaprodec.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 ee30fc612763
children 7dd2a45249a9
comparison
equal deleted inserted replaced
11559:444f4b594fdb 11560:8a4984c5cacc
1563 /** 1563 /**
1564 *@brief wmapro decoder 1564 *@brief wmapro decoder
1565 */ 1565 */
1566 AVCodec wmapro_decoder = { 1566 AVCodec wmapro_decoder = {
1567 "wmapro", 1567 "wmapro",
1568 CODEC_TYPE_AUDIO, 1568 AVMEDIA_TYPE_AUDIO,
1569 CODEC_ID_WMAPRO, 1569 CODEC_ID_WMAPRO,
1570 sizeof(WMAProDecodeCtx), 1570 sizeof(WMAProDecodeCtx),
1571 decode_init, 1571 decode_init,
1572 NULL, 1572 NULL,
1573 decode_end, 1573 decode_end,