Revision c76374c6 libavformat/applehttpproto.c

View differences:

libavformat/applehttpproto.c
318 318
            return AVERROR_EOF;
319 319
        while (av_gettime() - s->last_load_time < s->target_duration*1000000) {
320 320
            if (url_interrupt_cb())
321
                return AVERROR(EINTR);
321
                return AVERROR_EXIT;
322 322
            usleep(100*1000);
323 323
        }
324 324
        goto retry;
......
328 328
    ret = url_open(&s->seg_hd, url, URL_RDONLY);
329 329
    if (ret < 0) {
330 330
        if (url_interrupt_cb())
331
            return AVERROR(EINTR);
331
            return AVERROR_EXIT;
332 332
        av_log(NULL, AV_LOG_WARNING, "Unable to open %s\n", url);
333 333
        s->cur_seq_no++;
334 334
        goto retry;

Also available in: Unified diff