comparison vmnc.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 d7ed9dcc78e3
children 7dd2a45249a9
comparison
equal deleted inserted replaced
11559:444f4b594fdb 11560:8a4984c5cacc
508 return 0; 508 return 0;
509 } 509 }
510 510
511 AVCodec vmnc_decoder = { 511 AVCodec vmnc_decoder = {
512 "vmnc", 512 "vmnc",
513 CODEC_TYPE_VIDEO, 513 AVMEDIA_TYPE_VIDEO,
514 CODEC_ID_VMNC, 514 CODEC_ID_VMNC,
515 sizeof(VmncContext), 515 sizeof(VmncContext),
516 decode_init, 516 decode_init,
517 NULL, 517 NULL,
518 decode_end, 518 decode_end,