Mercurial > libavcodec.hg
comparison targa.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 | 9a577b684548 |
children | 914f484bb476 |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
241 return 0; | 241 return 0; |
242 } | 242 } |
243 | 243 |
244 AVCodec targa_decoder = { | 244 AVCodec targa_decoder = { |
245 "targa", | 245 "targa", |
246 CODEC_TYPE_VIDEO, | 246 AVMEDIA_TYPE_VIDEO, |
247 CODEC_ID_TARGA, | 247 CODEC_ID_TARGA, |
248 sizeof(TargaContext), | 248 sizeof(TargaContext), |
249 targa_init, | 249 targa_init, |
250 NULL, | 250 NULL, |
251 targa_end, | 251 targa_end, |