typedef struct {
int chars_per_frame;
- uint64_t fsize; /** file size less metadata buffer */
+ uint64_t fsize; /**< file size less metadata buffer */
} TtyDemuxContext;
/**
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;