Mercurial > libavcodec.hg
comparison avs.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 | 0dce4fe6e6f3 |
children |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
150 return 0; | 150 return 0; |
151 } | 151 } |
152 | 152 |
153 AVCodec avs_decoder = { | 153 AVCodec avs_decoder = { |
154 "avs", | 154 "avs", |
155 CODEC_TYPE_VIDEO, | 155 AVMEDIA_TYPE_VIDEO, |
156 CODEC_ID_AVS, | 156 CODEC_ID_AVS, |
157 sizeof(AvsContext), | 157 sizeof(AvsContext), |
158 avs_decode_init, | 158 avs_decode_init, |
159 NULL, | 159 NULL, |
160 NULL, | 160 NULL, |