comparison mpegaudioenc.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 d4c97368f3e4
children 7dd2a45249a9
comparison
equal deleted inserted replaced
11559:444f4b594fdb 11560:8a4984c5cacc
788 return 0; 788 return 0;
789 } 789 }
790 790
791 AVCodec mp2_encoder = { 791 AVCodec mp2_encoder = {
792 "mp2", 792 "mp2",
793 CODEC_TYPE_AUDIO, 793 AVMEDIA_TYPE_AUDIO,
794 CODEC_ID_MP2, 794 CODEC_ID_MP2,
795 sizeof(MpegAudioContext), 795 sizeof(MpegAudioContext),
796 MPA_encode_init, 796 MPA_encode_init,
797 MPA_encode_frame, 797 MPA_encode_frame,
798 MPA_encode_close, 798 MPA_encode_close,