comparison libvorbis.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 7955db355703
children 7dd2a45249a9
comparison
equal deleted inserted replaced
11559:444f4b594fdb 11560:8a4984c5cacc
215 } 215 }
216 216
217 217
218 AVCodec libvorbis_encoder = { 218 AVCodec libvorbis_encoder = {
219 "libvorbis", 219 "libvorbis",
220 CODEC_TYPE_AUDIO, 220 AVMEDIA_TYPE_AUDIO,
221 CODEC_ID_VORBIS, 221 CODEC_ID_VORBIS,
222 sizeof(OggVorbisContext), 222 sizeof(OggVorbisContext),
223 oggvorbis_encode_init, 223 oggvorbis_encode_init,
224 oggvorbis_encode_frame, 224 oggvorbis_encode_frame,
225 oggvorbis_encode_close, 225 oggvorbis_encode_close,