comparison r210dec.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 d17c26774897
children ee740a4e80c5
comparison
equal deleted inserted replaced
11559:444f4b594fdb 11560:8a4984c5cacc
90 return 0; 90 return 0;
91 } 91 }
92 92
93 AVCodec r210_decoder = { 93 AVCodec r210_decoder = {
94 "r210", 94 "r210",
95 CODEC_TYPE_VIDEO, 95 AVMEDIA_TYPE_VIDEO,
96 CODEC_ID_R210, 96 CODEC_ID_R210,
97 0, 97 0,
98 decode_init, 98 decode_init,
99 NULL, 99 NULL,
100 decode_close, 100 decode_close,