comparison atrac3.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
1014 1014
1015 1015
1016 AVCodec atrac3_decoder = 1016 AVCodec atrac3_decoder =
1017 { 1017 {
1018 .name = "atrac3", 1018 .name = "atrac3",
1019 .type = CODEC_TYPE_AUDIO, 1019 .type = AVMEDIA_TYPE_AUDIO,
1020 .id = CODEC_ID_ATRAC3, 1020 .id = CODEC_ID_ATRAC3,
1021 .priv_data_size = sizeof(ATRAC3Context), 1021 .priv_data_size = sizeof(ATRAC3Context),
1022 .init = atrac3_decode_init, 1022 .init = atrac3_decode_init,
1023 .close = atrac3_decode_close, 1023 .close = atrac3_decode_close,
1024 .decode = atrac3_decode_frame, 1024 .decode = atrac3_decode_frame,