comparison rv10enc.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 38cfe222e1a4
children 7dd2a45249a9
comparison
equal deleted inserted replaced
11559:444f4b594fdb 11560:8a4984c5cacc
56 put_bits(&s->pb, 3, 0); /* ignored */ 56 put_bits(&s->pb, 3, 0); /* ignored */
57 } 57 }
58 58
59 AVCodec rv10_encoder = { 59 AVCodec rv10_encoder = {
60 "rv10", 60 "rv10",
61 CODEC_TYPE_VIDEO, 61 AVMEDIA_TYPE_VIDEO,
62 CODEC_ID_RV10, 62 CODEC_ID_RV10,
63 sizeof(MpegEncContext), 63 sizeof(MpegEncContext),
64 MPV_encode_init, 64 MPV_encode_init,
65 MPV_encode_picture, 65 MPV_encode_picture,
66 MPV_encode_end, 66 MPV_encode_end,