Mercurial > libavcodec.hg
comparison lclenc.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 | c0af0d67bb8f |
children | 7dd2a45249a9 |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
178 return 0; | 178 return 0; |
179 } | 179 } |
180 | 180 |
181 AVCodec zlib_encoder = { | 181 AVCodec zlib_encoder = { |
182 "zlib", | 182 "zlib", |
183 CODEC_TYPE_VIDEO, | 183 AVMEDIA_TYPE_VIDEO, |
184 CODEC_ID_ZLIB, | 184 CODEC_ID_ZLIB, |
185 sizeof(LclEncContext), | 185 sizeof(LclEncContext), |
186 encode_init, | 186 encode_init, |
187 encode_frame, | 187 encode_frame, |
188 encode_end, | 188 encode_end, |