Revision a2704c97 libavformat/tty.c

View differences:

libavformat/tty.c
112 112
    n = s->chars_per_frame;
113 113
    if (s->fsize) {
114 114
        // ignore metadata buffer
115
        uint64_t p = url_ftell(avctx->pb);
115
        uint64_t p = avio_tell(avctx->pb);
116 116
        if (p + s->chars_per_frame > s->fsize)
117 117
            n = s->fsize - p;
118 118
    }

Also available in: Unified diff