Mercurial > libavcodec.hg
comparison mpeg4videoenc.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 | 514dc1c87b2e |
children | fdafbcef52f5 |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
1338 put_bits(&s->pb, 1, 0); /* no HEC */ | 1338 put_bits(&s->pb, 1, 0); /* no HEC */ |
1339 } | 1339 } |
1340 | 1340 |
1341 AVCodec mpeg4_encoder = { | 1341 AVCodec mpeg4_encoder = { |
1342 "mpeg4", | 1342 "mpeg4", |
1343 CODEC_TYPE_VIDEO, | 1343 AVMEDIA_TYPE_VIDEO, |
1344 CODEC_ID_MPEG4, | 1344 CODEC_ID_MPEG4, |
1345 sizeof(MpegEncContext), | 1345 sizeof(MpegEncContext), |
1346 encode_init, | 1346 encode_init, |
1347 MPV_encode_picture, | 1347 MPV_encode_picture, |
1348 MPV_encode_end, | 1348 MPV_encode_end, |