comparison mjpegenc.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 7127645ee791
children 7dd2a45249a9
comparison
equal deleted inserted replaced
11559:444f4b594fdb 11560:8a4984c5cacc
443 } 443 }
444 } 444 }
445 445
446 AVCodec mjpeg_encoder = { 446 AVCodec mjpeg_encoder = {
447 "mjpeg", 447 "mjpeg",
448 CODEC_TYPE_VIDEO, 448 AVMEDIA_TYPE_VIDEO,
449 CODEC_ID_MJPEG, 449 CODEC_ID_MJPEG,
450 sizeof(MpegEncContext), 450 sizeof(MpegEncContext),
451 MPV_encode_init, 451 MPV_encode_init,
452 MPV_encode_picture, 452 MPV_encode_picture,
453 MPV_encode_end, 453 MPV_encode_end,