comparison cyuv.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 22afa8a8f4d5
children 7dd2a45249a9
comparison
equal deleted inserted replaced
11559:444f4b594fdb 11560:8a4984c5cacc
178 } 178 }
179 179
180 #if CONFIG_AURA_DECODER 180 #if CONFIG_AURA_DECODER
181 AVCodec aura_decoder = { 181 AVCodec aura_decoder = {
182 "aura", 182 "aura",
183 CODEC_TYPE_VIDEO, 183 AVMEDIA_TYPE_VIDEO,
184 CODEC_ID_AURA, 184 CODEC_ID_AURA,
185 sizeof(CyuvDecodeContext), 185 sizeof(CyuvDecodeContext),
186 cyuv_decode_init, 186 cyuv_decode_init,
187 NULL, 187 NULL,
188 cyuv_decode_end, 188 cyuv_decode_end,
194 #endif 194 #endif
195 195
196 #if CONFIG_CYUV_DECODER 196 #if CONFIG_CYUV_DECODER
197 AVCodec cyuv_decoder = { 197 AVCodec cyuv_decoder = {
198 "cyuv", 198 "cyuv",
199 CODEC_TYPE_VIDEO, 199 AVMEDIA_TYPE_VIDEO,
200 CODEC_ID_CYUV, 200 CODEC_ID_CYUV,
201 sizeof(CyuvDecodeContext), 201 sizeof(CyuvDecodeContext),
202 cyuv_decode_init, 202 cyuv_decode_init,
203 NULL, 203 NULL,
204 cyuv_decode_end, 204 cyuv_decode_end,