comparison vorbis_enc.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 4b3da727d832
children 7dd2a45249a9
comparison
equal deleted inserted replaced
11559:444f4b594fdb 11560:8a4984c5cacc
1091 return 0 ; 1091 return 0 ;
1092 } 1092 }
1093 1093
1094 AVCodec vorbis_encoder = { 1094 AVCodec vorbis_encoder = {
1095 "vorbis", 1095 "vorbis",
1096 CODEC_TYPE_AUDIO, 1096 AVMEDIA_TYPE_AUDIO,
1097 CODEC_ID_VORBIS, 1097 CODEC_ID_VORBIS,
1098 sizeof(vorbis_enc_context), 1098 sizeof(vorbis_enc_context),
1099 vorbis_encode_init, 1099 vorbis_encode_init,
1100 vorbis_encode_frame, 1100 vorbis_encode_frame,
1101 vorbis_encode_close, 1101 vorbis_encode_close,