comparison bethsoftvideo.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 f31c21164e58
children 7dd2a45249a9
comparison
equal deleted inserted replaced
11559:444f4b594fdb 11560:8a4984c5cacc
130 return 0; 130 return 0;
131 } 131 }
132 132
133 AVCodec bethsoftvid_decoder = { 133 AVCodec bethsoftvid_decoder = {
134 .name = "bethsoftvid", 134 .name = "bethsoftvid",
135 .type = CODEC_TYPE_VIDEO, 135 .type = AVMEDIA_TYPE_VIDEO,
136 .id = CODEC_ID_BETHSOFTVID, 136 .id = CODEC_ID_BETHSOFTVID,
137 .priv_data_size = sizeof(BethsoftvidContext), 137 .priv_data_size = sizeof(BethsoftvidContext),
138 .init = bethsoftvid_decode_init, 138 .init = bethsoftvid_decode_init,
139 .close = bethsoftvid_decode_end, 139 .close = bethsoftvid_decode_end,
140 .decode = bethsoftvid_decode_frame, 140 .decode = bethsoftvid_decode_frame,