Mercurial > libavformat.hg
diff tty.c @ 6484:29e95ae56fa9 libavformat
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 | c4ff37db69e1 |
children |
line wrap: on
line diff
--- a/tty.c Fri Sep 24 18:04:21 2010 +0000 +++ b/tty.c Sat Sep 25 23:27:16 2010 +0000 @@ -75,7 +75,7 @@ if (!st) return AVERROR(ENOMEM); st->codec->codec_tag = 0; - st->codec->codec_type = CODEC_TYPE_VIDEO; + st->codec->codec_type = AVMEDIA_TYPE_VIDEO; st->codec->codec_id = CODEC_ID_ANSI; if (ap->width) st->codec->width = ap->width; if (ap->height) st->codec->height = ap->height;