Mercurial > libavcodec.hg
comparison pngdec.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 | eb37707704e4 |
children | 5111783be6ad |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
654 return 0; | 654 return 0; |
655 } | 655 } |
656 | 656 |
657 AVCodec png_decoder = { | 657 AVCodec png_decoder = { |
658 "png", | 658 "png", |
659 CODEC_TYPE_VIDEO, | 659 AVMEDIA_TYPE_VIDEO, |
660 CODEC_ID_PNG, | 660 CODEC_ID_PNG, |
661 sizeof(PNGDecContext), | 661 sizeof(PNGDecContext), |
662 png_dec_init, | 662 png_dec_init, |
663 NULL, | 663 NULL, |
664 png_dec_end, | 664 png_dec_end, |