comparison xsubdec.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 8ac9bc10b485
children 914f484bb476
comparison
equal deleted inserted replaced
11559:444f4b594fdb 11560:8a4984c5cacc
130 return buf_size; 130 return buf_size;
131 } 131 }
132 132
133 AVCodec xsub_decoder = { 133 AVCodec xsub_decoder = {
134 "xsub", 134 "xsub",
135 CODEC_TYPE_SUBTITLE, 135 AVMEDIA_TYPE_SUBTITLE,
136 CODEC_ID_XSUB, 136 CODEC_ID_XSUB,
137 0, 137 0,
138 decode_init, 138 decode_init,
139 NULL, 139 NULL,
140 NULL, 140 NULL,