Mercurial > libavcodec.hg
comparison gif.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 | e15eb76d9e47 |
children | 998691d7f8f5 |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
166 return 0; | 166 return 0; |
167 } | 167 } |
168 | 168 |
169 AVCodec gif_encoder = { | 169 AVCodec gif_encoder = { |
170 "gif", | 170 "gif", |
171 CODEC_TYPE_VIDEO, | 171 AVMEDIA_TYPE_VIDEO, |
172 CODEC_ID_GIF, | 172 CODEC_ID_GIF, |
173 sizeof(GIFContext), | 173 sizeof(GIFContext), |
174 gif_encode_init, | 174 gif_encode_init, |
175 gif_encode_frame, | 175 gif_encode_frame, |
176 gif_encode_close, | 176 gif_encode_close, |