comparison alacenc.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 1c33160b0722
children 7942a09aac64
comparison
equal deleted inserted replaced
11559:444f4b594fdb 11560:8a4984c5cacc
519 return 0; 519 return 0;
520 } 520 }
521 521
522 AVCodec alac_encoder = { 522 AVCodec alac_encoder = {
523 "alac", 523 "alac",
524 CODEC_TYPE_AUDIO, 524 AVMEDIA_TYPE_AUDIO,
525 CODEC_ID_ALAC, 525 CODEC_ID_ALAC,
526 sizeof(AlacEncodeContext), 526 sizeof(AlacEncodeContext),
527 alac_encode_init, 527 alac_encode_init,
528 alac_encode_frame, 528 alac_encode_frame,
529 alac_encode_close, 529 alac_encode_close,