diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-09-25 23:27:16 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-09-25 23:27:16 +0000 |
commit | b9f9e59afc4e32a326ad6b117166f0c82fd1cbac (patch) | |
tree | 9cb2d814bc0522348ade285eab2cae4e907275ec /libavcodec | |
parent | 2c1da681b8a75548b407c19639effeff2ffc2ea3 (diff) | |
download | ffmpeg-b9f9e59afc4e32a326ad6b117166f0c82fd1cbac.tar.gz |
Replace deprecated CODEC_TYPE_AUDIO and CODEC_TYPE_VIDEO with the
corresponding AVMEDIA_TYPE_* symbols.
Originally committed as revision 25201 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/ansi.c | 2 | ||||
-rw-r--r-- | libavcodec/libxavs.c | 2 | ||||
-rw-r--r-- | libavcodec/pictordec.c | 2 | ||||
-rw-r--r-- | libavcodec/ra144enc.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/ansi.c b/libavcodec/ansi.c index ad85906095..8e7171c6c1 100644 --- a/libavcodec/ansi.c +++ b/libavcodec/ansi.c @@ -424,7 +424,7 @@ static av_cold int decode_close(AVCodecContext *avctx) 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, diff --git a/libavcodec/libxavs.c b/libavcodec/libxavs.c index c4ac73333b..aa5dc23bc2 100644 --- a/libavcodec/libxavs.c +++ b/libavcodec/libxavs.c @@ -338,7 +338,7 @@ static av_cold int XAVS_init(AVCodecContext *avctx) 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, diff --git a/libavcodec/pictordec.c b/libavcodec/pictordec.c index 8f46fc06e8..04667f61f2 100644 --- a/libavcodec/pictordec.c +++ b/libavcodec/pictordec.c @@ -239,7 +239,7 @@ static av_cold int decode_end(AVCodecContext *avctx) AVCodec pictor_decoder = { "pictor", - CODEC_TYPE_VIDEO, + AVMEDIA_TYPE_VIDEO, CODEC_ID_PICTOR, sizeof(PicContext), NULL, diff --git a/libavcodec/ra144enc.c b/libavcodec/ra144enc.c index 9e2cf36c2d..195821cddb 100644 --- a/libavcodec/ra144enc.c +++ b/libavcodec/ra144enc.c @@ -502,7 +502,7 @@ static int ra144_encode_frame(AVCodecContext *avctx, uint8_t *frame, AVCodec ra_144_encoder = { "real_144", - CODEC_TYPE_AUDIO, + AVMEDIA_TYPE_AUDIO, CODEC_ID_RA_144, sizeof(RA144Context), ra144_encode_init, |