comparison dca.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 59a801bfc636
comparison
equal deleted inserted replaced
11559:444f4b594fdb 11560:8a4984c5cacc
1328 return 0; 1328 return 0;
1329 } 1329 }
1330 1330
1331 AVCodec dca_decoder = { 1331 AVCodec dca_decoder = {
1332 .name = "dca", 1332 .name = "dca",
1333 .type = CODEC_TYPE_AUDIO, 1333 .type = AVMEDIA_TYPE_AUDIO,
1334 .id = CODEC_ID_DTS, 1334 .id = CODEC_ID_DTS,
1335 .priv_data_size = sizeof(DCAContext), 1335 .priv_data_size = sizeof(DCAContext),
1336 .init = dca_decode_init, 1336 .init = dca_decode_init,
1337 .decode = dca_decode_frame, 1337 .decode = dca_decode_frame,
1338 .close = dca_decode_end, 1338 .close = dca_decode_end,