summaryrefslogtreecommitdiff
path: root/libavformat/tty.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-09-25 23:27:16 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-09-25 23:27:16 +0000
commitb9f9e59afc4e32a326ad6b117166f0c82fd1cbac (patch)
tree9cb2d814bc0522348ade285eab2cae4e907275ec /libavformat/tty.c
parent2c1da681b8a75548b407c19639effeff2ffc2ea3 (diff)
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 'libavformat/tty.c')
-rw-r--r--libavformat/tty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/tty.c b/libavformat/tty.c
index e4ed22d4c1..6aa6fa2c27 100644
--- a/libavformat/tty.c
+++ b/libavformat/tty.c
@@ -75,7 +75,7 @@ static int read_header(AVFormatContext *avctx,
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;