Revision 66e5b1df libavformat/nuv.c

View differences:

libavformat/nuv.c
60 60
    nuv_frametype frametype;
61 61
    if (!vst && !myth)
62 62
        return 1; // no codec data needed
63
    while (!url_feof(pb)) {
63
    while (!pb->eof_reached) {
64 64
        int size, subtype;
65 65
        frametype = avio_r8(pb);
66 66
        switch (frametype) {
......
195 195
    uint8_t hdr[HDRSIZE];
196 196
    nuv_frametype frametype;
197 197
    int ret, size;
198
    while (!url_feof(pb)) {
198
    while (!pb->eof_reached) {
199 199
        int copyhdrsize = ctx->rtjpg_video ? HDRSIZE : 0;
200 200
        uint64_t pos = avio_tell(pb);
201 201
        ret = avio_read(pb, hdr, HDRSIZE);

Also available in: Unified diff