comparison libmp3lame.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
214 } 214 }
215 215
216 216
217 AVCodec libmp3lame_encoder = { 217 AVCodec libmp3lame_encoder = {
218 "libmp3lame", 218 "libmp3lame",
219 CODEC_TYPE_AUDIO, 219 AVMEDIA_TYPE_AUDIO,
220 CODEC_ID_MP3, 220 CODEC_ID_MP3,
221 sizeof(Mp3AudioContext), 221 sizeof(Mp3AudioContext),
222 MP3lame_encode_init, 222 MP3lame_encode_init,
223 MP3lame_encode_frame, 223 MP3lame_encode_frame,
224 MP3lame_encode_close, 224 MP3lame_encode_close,