Mercurial > libavcodec.hg
comparison flvenc.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 | d0657e337f91 |
children |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
84 } | 84 } |
85 } | 85 } |
86 | 86 |
87 AVCodec flv_encoder = { | 87 AVCodec flv_encoder = { |
88 "flv", | 88 "flv", |
89 CODEC_TYPE_VIDEO, | 89 AVMEDIA_TYPE_VIDEO, |
90 CODEC_ID_FLV1, | 90 CODEC_ID_FLV1, |
91 sizeof(MpegEncContext), | 91 sizeof(MpegEncContext), |
92 MPV_encode_init, | 92 MPV_encode_init, |
93 MPV_encode_picture, | 93 MPV_encode_picture, |
94 MPV_encode_end, | 94 MPV_encode_end, |