Revision b9f9e59a libavformat/tty.c

View differences:

libavformat/tty.c
75 75
    if (!st)
76 76
        return AVERROR(ENOMEM);
77 77
    st->codec->codec_tag   = 0;
78
    st->codec->codec_type  = CODEC_TYPE_VIDEO;
78
    st->codec->codec_type  = AVMEDIA_TYPE_VIDEO;
79 79
    st->codec->codec_id    = CODEC_ID_ANSI;
80 80
    if (ap->width)  st->codec->width  = ap->width;
81 81
    if (ap->height) st->codec->height = ap->height;

Also available in: Unified diff