Revision 66e5b1df libavformat/lxfdec.c

View differences:

libavformat/lxfdec.c
90 90
        return ret < 0 ? ret : AVERROR_EOF;
91 91

  
92 92
    while (memcmp(buf, LXF_IDENT, LXF_IDENT_LENGTH)) {
93
        if (url_feof(s->pb))
93
        if (s->pb->eof_reached)
94 94
            return AVERROR_EOF;
95 95

  
96 96
        memmove(buf, &buf[1], LXF_IDENT_LENGTH-1);

Also available in: Unified diff