Revision b58b9fa3 ffmpeg.c

View differences:

ffmpeg.c
69 69
#include <sys/select.h>
70 70
#endif
71 71

  
72
#if HAVE_CONIO_H
72
#if HAVE_KBHIT
73 73
#include <conio.h>
74 74
#endif
75 75
#include <time.h>
......
435 435
/* read a key without blocking */
436 436
static int read_key(void)
437 437
{
438
#if HAVE_CONIO_H
438
#if HAVE_KBHIT
439 439
    if(kbhit())
440 440
        return(getch());
441 441
#endif
......
2437 2437
    }
2438 2438

  
2439 2439
    if (!using_stdin && verbose >= 0) {
2440
#if HAVE_CONIO_H
2440
#if HAVE_KBHIT
2441 2441
        fprintf(stderr, "Press [q] to stop encoding\n");
2442 2442
#else
2443 2443
        fprintf(stderr, "Press ctrl-c to stop encoding\n");

Also available in: Unified diff