Revision 80c6e238 ffplay.c

View differences:

ffplay.c
2393 2393
    is->subtitle_stream = -1;
2394 2394

  
2395 2395
    global_video_state = is;
2396
    url_set_interrupt_cb(decode_interrupt_cb);
2396
    avio_set_interrupt_cb(decode_interrupt_cb);
2397 2397

  
2398 2398
    memset(ap, 0, sizeof(*ap));
2399 2399

  
......
2612 2612
        av_close_input_file(is->ic);
2613 2613
        is->ic = NULL; /* safety */
2614 2614
    }
2615
    url_set_interrupt_cb(NULL);
2615
    avio_set_interrupt_cb(NULL);
2616 2616

  
2617 2617
    if (ret != 0) {
2618 2618
        SDL_Event event;

Also available in: Unified diff