Mercurial > libavcodec.hg
changeset 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 | 307776e26174 |
children | be85455cab8f |
files | ansi.c libxavs.c pictordec.c ra144enc.c |
diffstat | 4 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/ansi.c Sat Sep 25 14:37:54 2010 +0000 +++ b/ansi.c Sat Sep 25 23:27:16 2010 +0000 @@ -424,7 +424,7 @@ AVCodec ansi_decoder = { .name = "ansi", - .type = CODEC_TYPE_VIDEO, + .type = AVMEDIA_TYPE_VIDEO, .id = CODEC_ID_ANSI, .priv_data_size = sizeof(AnsiContext), .init = decode_init,
--- a/libxavs.c Sat Sep 25 14:37:54 2010 +0000 +++ b/libxavs.c Sat Sep 25 23:27:16 2010 +0000 @@ -338,7 +338,7 @@ AVCodec libxavs_encoder = { .name = "libxavs", - .type = CODEC_TYPE_VIDEO, + .type = AVMEDIA_TYPE_VIDEO, .id = CODEC_ID_CAVS, .priv_data_size = sizeof(XavsContext), .init = XAVS_init,