comparison bmp.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 3b0a2384ff9f
children c35d7bc64882
comparison
equal deleted inserted replaced
11559:444f4b594fdb 11560:8a4984c5cacc
335 return 0; 335 return 0;
336 } 336 }
337 337
338 AVCodec bmp_decoder = { 338 AVCodec bmp_decoder = {
339 "bmp", 339 "bmp",
340 CODEC_TYPE_VIDEO, 340 AVMEDIA_TYPE_VIDEO,
341 CODEC_ID_BMP, 341 CODEC_ID_BMP,
342 sizeof(BMPContext), 342 sizeof(BMPContext),
343 bmp_decode_init, 343 bmp_decode_init,
344 NULL, 344 NULL,
345 bmp_decode_end, 345 bmp_decode_end,