Revision 66e5b1df libavformat/ncdec.c

View differences:

libavformat/ncdec.c
66 66

  
67 67
    uint32_t state=-1;
68 68
    while (state != NC_VIDEO_FLAG) {
69
        if (url_feof(s->pb))
69
        if (s->pb->eof_reached)
70 70
            return AVERROR(EIO);
71 71
        state = (state<<8) + avio_r8(s->pb);
72 72
    }

Also available in: Unified diff