Mercurial > libavcodec.hg
comparison bmpenc.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 | 98fdef0c35a1 |
children |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
131 return n_bytes; | 131 return n_bytes; |
132 } | 132 } |
133 | 133 |
134 AVCodec bmp_encoder = { | 134 AVCodec bmp_encoder = { |
135 "bmp", | 135 "bmp", |
136 CODEC_TYPE_VIDEO, | 136 AVMEDIA_TYPE_VIDEO, |
137 CODEC_ID_BMP, | 137 CODEC_ID_BMP, |
138 sizeof(BMPContext), | 138 sizeof(BMPContext), |
139 bmp_encode_init, | 139 bmp_encode_init, |
140 bmp_encode_frame, | 140 bmp_encode_frame, |
141 NULL, //encode_end, | 141 NULL, //encode_end, |