Revision 80c6e238 ffmpeg.c

View differences:

ffmpeg.c
2451 2451
#else
2452 2452
        fprintf(stderr, "Press ctrl-c to stop encoding\n");
2453 2453
#endif
2454
        url_set_interrupt_cb(decode_interrupt_cb);
2454
        avio_set_interrupt_cb(decode_interrupt_cb);
2455 2455
    }
2456 2456
    term_init();
2457 2457

  
......
4289 4289

  
4290 4290
#if HAVE_ISATTY
4291 4291
    if(isatty(STDIN_FILENO))
4292
        url_set_interrupt_cb(decode_interrupt_cb);
4292
        avio_set_interrupt_cb(decode_interrupt_cb);
4293 4293
#endif
4294 4294

  
4295 4295
    init_opts();

Also available in: Unified diff