Revision ba26712b

View differences:

libavformat/ffm.c
296 296
    int len;
297 297

  
298 298
    len = ffm->packet_end - ffm->packet_ptr;
299
    if (!ffm_nopts) {
300
        /* XXX: I don't understand this test, so I disabled it for testing */
301
        if (size <= len)
302
            return 1;
303
    }
299
    if (size <= len)
300
        return 1;
304 301
    pos = url_ftell(s->pb);
305 302
    if (pos == ffm->write_index) {
306 303
        /* exactly at the end of stream */

Also available in: Unified diff