Mercurial > libavcodec.hg
comparison snow.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 | 1bf7af4db35a |
children | a5c32cb046eb |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
2235 return 0; | 2235 return 0; |
2236 } | 2236 } |
2237 | 2237 |
2238 AVCodec snow_decoder = { | 2238 AVCodec snow_decoder = { |
2239 "snow", | 2239 "snow", |
2240 CODEC_TYPE_VIDEO, | 2240 AVMEDIA_TYPE_VIDEO, |
2241 CODEC_ID_SNOW, | 2241 CODEC_ID_SNOW, |
2242 sizeof(SnowContext), | 2242 sizeof(SnowContext), |
2243 decode_init, | 2243 decode_init, |
2244 NULL, | 2244 NULL, |
2245 decode_end, | 2245 decode_end, |
3986 return 0; | 3986 return 0; |
3987 } | 3987 } |
3988 | 3988 |
3989 AVCodec snow_encoder = { | 3989 AVCodec snow_encoder = { |
3990 "snow", | 3990 "snow", |
3991 CODEC_TYPE_VIDEO, | 3991 AVMEDIA_TYPE_VIDEO, |
3992 CODEC_ID_SNOW, | 3992 CODEC_ID_SNOW, |
3993 sizeof(SnowContext), | 3993 sizeof(SnowContext), |
3994 encode_init, | 3994 encode_init, |
3995 encode_frame, | 3995 encode_frame, |
3996 encode_end, | 3996 encode_end, |