comparison wmavoice.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 b94e1810ce4c
children 7dd2a45249a9
comparison
equal deleted inserted replaced
11559:444f4b594fdb 11560:8a4984c5cacc
1553 sizeof(s->gain_pred_err)); 1553 sizeof(s->gain_pred_err));
1554 } 1554 }
1555 1555
1556 AVCodec wmavoice_decoder = { 1556 AVCodec wmavoice_decoder = {
1557 "wmavoice", 1557 "wmavoice",
1558 CODEC_TYPE_AUDIO, 1558 AVMEDIA_TYPE_AUDIO,
1559 CODEC_ID_WMAVOICE, 1559 CODEC_ID_WMAVOICE,
1560 sizeof(WMAVoiceContext), 1560 sizeof(WMAVoiceContext),
1561 wmavoice_decode_init, 1561 wmavoice_decode_init,
1562 NULL, 1562 NULL,
1563 NULL, 1563 NULL,