comparison jpeglsenc.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 38cfe222e1a4
children 7dd2a45249a9
comparison
equal deleted inserted replaced
11559:444f4b594fdb 11560:8a4984c5cacc
382 return 0; 382 return 0;
383 } 383 }
384 384
385 AVCodec jpegls_encoder = { //FIXME avoid MPV_* lossless JPEG should not need them 385 AVCodec jpegls_encoder = { //FIXME avoid MPV_* lossless JPEG should not need them
386 "jpegls", 386 "jpegls",
387 CODEC_TYPE_VIDEO, 387 AVMEDIA_TYPE_VIDEO,
388 CODEC_ID_JPEGLS, 388 CODEC_ID_JPEGLS,
389 sizeof(JpeglsContext), 389 sizeof(JpeglsContext),
390 encode_init_ls, 390 encode_init_ls,
391 encode_picture_ls, 391 encode_picture_ls,
392 NULL, 392 NULL,