diff options
Diffstat (limited to 'libavformat/tty.c')
-rw-r--r-- | libavformat/tty.c | 2 |
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; |