comparison ac3enc.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 bdf4a9ca162a
children 7dd2a45249a9
comparison
equal deleted inserted replaced
11559:444f4b594fdb 11560:8a4984c5cacc
1391 } 1391 }
1392 #endif 1392 #endif
1393 1393
1394 AVCodec ac3_encoder = { 1394 AVCodec ac3_encoder = {
1395 "ac3", 1395 "ac3",
1396 CODEC_TYPE_AUDIO, 1396 AVMEDIA_TYPE_AUDIO,
1397 CODEC_ID_AC3, 1397 CODEC_ID_AC3,
1398 sizeof(AC3EncodeContext), 1398 sizeof(AC3EncodeContext),
1399 AC3_encode_init, 1399 AC3_encode_init,
1400 AC3_encode_frame, 1400 AC3_encode_frame,
1401 AC3_encode_close, 1401 AC3_encode_close,