Mercurial > libavcodec.hg
comparison libxvidff.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 | 965eca23972e |
children | 7dd2a45249a9 |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
767 /** | 767 /** |
768 * Xvid codec definition for libavcodec. | 768 * Xvid codec definition for libavcodec. |
769 */ | 769 */ |
770 AVCodec libxvid_encoder = { | 770 AVCodec libxvid_encoder = { |
771 "libxvid", | 771 "libxvid", |
772 CODEC_TYPE_VIDEO, | 772 AVMEDIA_TYPE_VIDEO, |
773 CODEC_ID_MPEG4, | 773 CODEC_ID_MPEG4, |
774 sizeof(struct xvid_context), | 774 sizeof(struct xvid_context), |
775 xvid_encode_init, | 775 xvid_encode_init, |
776 xvid_encode_frame, | 776 xvid_encode_frame, |
777 xvid_encode_close, | 777 xvid_encode_close, |