Mercurial > libavcodec.hg
comparison ansi.c @ 12516:34beb0af8204 libavcodec
Replace deprecated CODEC_TYPE_AUDIO and CODEC_TYPE_VIDEO with the
corresponding AVMEDIA_TYPE_* symbols.
author | stefano |
---|---|
date | Sat, 25 Sep 2010 23:27:16 +0000 |
parents | 601fbb943758 |
children |
comparison
equal
deleted
inserted
replaced
12515:307776e26174 | 12516:34beb0af8204 |
---|---|
422 return 0; | 422 return 0; |
423 } | 423 } |
424 | 424 |
425 AVCodec ansi_decoder = { | 425 AVCodec ansi_decoder = { |
426 .name = "ansi", | 426 .name = "ansi", |
427 .type = CODEC_TYPE_VIDEO, | 427 .type = AVMEDIA_TYPE_VIDEO, |
428 .id = CODEC_ID_ANSI, | 428 .id = CODEC_ID_ANSI, |
429 .priv_data_size = sizeof(AnsiContext), | 429 .priv_data_size = sizeof(AnsiContext), |
430 .init = decode_init, | 430 .init = decode_init, |
431 .close = decode_close, | 431 .close = decode_close, |
432 .decode = decode_frame, | 432 .decode = decode_frame, |