comparison bfi.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 885d3f36bcb2
children 7dd2a45249a9
comparison
equal deleted inserted replaced
11559:444f4b594fdb 11560:8a4984c5cacc
171 return 0; 171 return 0;
172 } 172 }
173 173
174 AVCodec bfi_decoder = { 174 AVCodec bfi_decoder = {
175 .name = "bfi", 175 .name = "bfi",
176 .type = CODEC_TYPE_VIDEO, 176 .type = AVMEDIA_TYPE_VIDEO,
177 .id = CODEC_ID_BFI, 177 .id = CODEC_ID_BFI,
178 .priv_data_size = sizeof(BFIContext), 178 .priv_data_size = sizeof(BFIContext),
179 .init = bfi_decode_init, 179 .init = bfi_decode_init,
180 .close = bfi_decode_close, 180 .close = bfi_decode_close,
181 .decode = bfi_decode_frame, 181 .decode = bfi_decode_frame,