Revision 66e5b1df libavformat/mxg.c

View differences:

libavformat/mxg.c
132 132
    uint8_t *startmarker_ptr, *end, *search_end, marker;
133 133
    MXGContext *mxg = s->priv_data;
134 134

  
135
    while (!url_feof(s->pb) && !url_ferror(s->pb)){
135
    while (!s->pb->eof_reached && !url_ferror(s->pb)){
136 136
        if (mxg->cache_size <= OVERREAD_SIZE) {
137 137
            /* update internal buffer */
138 138
            ret = mxg_update_cache(s, DEFAULT_PACKET_SIZE + OVERREAD_SIZE);

Also available in: Unified diff