comparison sgienc.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 5f263438d11b
children
comparison
equal deleted inserted replaced
11559:444f4b594fdb 11560:8a4984c5cacc
159 return buf - orig_buf; 159 return buf - orig_buf;
160 } 160 }
161 161
162 AVCodec sgi_encoder = { 162 AVCodec sgi_encoder = {
163 "sgi", 163 "sgi",
164 CODEC_TYPE_VIDEO, 164 AVMEDIA_TYPE_VIDEO,
165 CODEC_ID_SGI, 165 CODEC_ID_SGI,
166 sizeof(SgiContext), 166 sizeof(SgiContext),
167 encode_init, 167 encode_init,
168 encode_frame, 168 encode_frame,
169 NULL, 169 NULL,