Mercurial > libavcodec.hg
comparison smacker.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 | ccad7a2ff75f |
children | 7dd2a45249a9 |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
689 return buf_size; | 689 return buf_size; |
690 } | 690 } |
691 | 691 |
692 AVCodec smacker_decoder = { | 692 AVCodec smacker_decoder = { |
693 "smackvid", | 693 "smackvid", |
694 CODEC_TYPE_VIDEO, | 694 AVMEDIA_TYPE_VIDEO, |
695 CODEC_ID_SMACKVIDEO, | 695 CODEC_ID_SMACKVIDEO, |
696 sizeof(SmackVContext), | 696 sizeof(SmackVContext), |
697 decode_init, | 697 decode_init, |
698 NULL, | 698 NULL, |
699 decode_end, | 699 decode_end, |
702 .long_name = NULL_IF_CONFIG_SMALL("Smacker video"), | 702 .long_name = NULL_IF_CONFIG_SMALL("Smacker video"), |
703 }; | 703 }; |
704 | 704 |
705 AVCodec smackaud_decoder = { | 705 AVCodec smackaud_decoder = { |
706 "smackaud", | 706 "smackaud", |
707 CODEC_TYPE_AUDIO, | 707 AVMEDIA_TYPE_AUDIO, |
708 CODEC_ID_SMACKAUDIO, | 708 CODEC_ID_SMACKAUDIO, |
709 0, | 709 0, |
710 smka_decode_init, | 710 smka_decode_init, |
711 NULL, | 711 NULL, |
712 NULL, | 712 NULL, |