Mercurial > libavcodec.hg
comparison mlpdec.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 | 919fb8b71591 |
children | 7dd2a45249a9 |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
1134 return -1; | 1134 return -1; |
1135 } | 1135 } |
1136 | 1136 |
1137 AVCodec mlp_decoder = { | 1137 AVCodec mlp_decoder = { |
1138 "mlp", | 1138 "mlp", |
1139 CODEC_TYPE_AUDIO, | 1139 AVMEDIA_TYPE_AUDIO, |
1140 CODEC_ID_MLP, | 1140 CODEC_ID_MLP, |
1141 sizeof(MLPDecodeContext), | 1141 sizeof(MLPDecodeContext), |
1142 mlp_decode_init, | 1142 mlp_decode_init, |
1143 NULL, | 1143 NULL, |
1144 NULL, | 1144 NULL, |
1147 }; | 1147 }; |
1148 | 1148 |
1149 #if CONFIG_TRUEHD_DECODER | 1149 #if CONFIG_TRUEHD_DECODER |
1150 AVCodec truehd_decoder = { | 1150 AVCodec truehd_decoder = { |
1151 "truehd", | 1151 "truehd", |
1152 CODEC_TYPE_AUDIO, | 1152 AVMEDIA_TYPE_AUDIO, |
1153 CODEC_ID_TRUEHD, | 1153 CODEC_ID_TRUEHD, |
1154 sizeof(MLPDecodeContext), | 1154 sizeof(MLPDecodeContext), |
1155 mlp_decode_init, | 1155 mlp_decode_init, |
1156 NULL, | 1156 NULL, |
1157 NULL, | 1157 NULL, |