Mercurial > libavcodec.hg
comparison wmv2enc.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 | d0657e337f91 |
children |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
211 } | 211 } |
212 } | 212 } |
213 | 213 |
214 AVCodec wmv2_encoder = { | 214 AVCodec wmv2_encoder = { |
215 "wmv2", | 215 "wmv2", |
216 CODEC_TYPE_VIDEO, | 216 AVMEDIA_TYPE_VIDEO, |
217 CODEC_ID_WMV2, | 217 CODEC_ID_WMV2, |
218 sizeof(Wmv2Context), | 218 sizeof(Wmv2Context), |
219 wmv2_encode_init, | 219 wmv2_encode_init, |
220 MPV_encode_picture, | 220 MPV_encode_picture, |
221 MPV_encode_end, | 221 MPV_encode_end, |