Mercurial > libavcodec.hg
comparison cook.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 |
---|---|
1286 | 1286 |
1287 | 1287 |
1288 AVCodec cook_decoder = | 1288 AVCodec cook_decoder = |
1289 { | 1289 { |
1290 .name = "cook", | 1290 .name = "cook", |
1291 .type = CODEC_TYPE_AUDIO, | 1291 .type = AVMEDIA_TYPE_AUDIO, |
1292 .id = CODEC_ID_COOK, | 1292 .id = CODEC_ID_COOK, |
1293 .priv_data_size = sizeof(COOKContext), | 1293 .priv_data_size = sizeof(COOKContext), |
1294 .init = cook_decode_init, | 1294 .init = cook_decode_init, |
1295 .close = cook_decode_close, | 1295 .close = cook_decode_close, |
1296 .decode = cook_decode_frame, | 1296 .decode = cook_decode_frame, |