Mercurial > libavcodec.hg
comparison lcldec.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 | d7ed9dcc78e3 |
children | 7dd2a45249a9 |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
609 } | 609 } |
610 | 610 |
611 #if CONFIG_MSZH_DECODER | 611 #if CONFIG_MSZH_DECODER |
612 AVCodec mszh_decoder = { | 612 AVCodec mszh_decoder = { |
613 "mszh", | 613 "mszh", |
614 CODEC_TYPE_VIDEO, | 614 AVMEDIA_TYPE_VIDEO, |
615 CODEC_ID_MSZH, | 615 CODEC_ID_MSZH, |
616 sizeof(LclDecContext), | 616 sizeof(LclDecContext), |
617 decode_init, | 617 decode_init, |
618 NULL, | 618 NULL, |
619 decode_end, | 619 decode_end, |
624 #endif | 624 #endif |
625 | 625 |
626 #if CONFIG_ZLIB_DECODER | 626 #if CONFIG_ZLIB_DECODER |
627 AVCodec zlib_decoder = { | 627 AVCodec zlib_decoder = { |
628 "zlib", | 628 "zlib", |
629 CODEC_TYPE_VIDEO, | 629 AVMEDIA_TYPE_VIDEO, |
630 CODEC_ID_ZLIB, | 630 CODEC_ID_ZLIB, |
631 sizeof(LclDecContext), | 631 sizeof(LclDecContext), |
632 decode_init, | 632 decode_init, |
633 NULL, | 633 NULL, |
634 decode_end, | 634 decode_end, |