Revision b58b9fa3

View differences:

configure
1037 1037
    bswap
1038 1038
    closesocket
1039 1039
    cmov
1040
    conio_h
1041 1040
    dcbzl
1042 1041
    dev_bktr_ioctl_bt848_h
1043 1042
    dev_bktr_ioctl_meteor_h
......
1067 1066
    inet_aton
1068 1067
    inline_asm
1069 1068
    isatty
1069
    kbhit
1070 1070
    ldbrx
1071 1071
    libdc1394_1
1072 1072
    libdc1394_2
......
2775 2775
check_func  setrlimit
2776 2776
check_func  strerror_r
2777 2777
check_func  strtok_r
2778
check_func_headers conio.h kbhit
2778 2779
check_func_headers io.h setmode
2779 2780
check_func_headers lzo/lzo1x.h lzo1x_999_compress
2780 2781
check_lib2 "windows.h psapi.h" GetProcessMemoryInfo -lpsapi
......
2782 2783
check_func_headers windows.h MapViewOfFile
2783 2784
check_func_headers windows.h VirtualAlloc
2784 2785

  
2785
check_header conio.h
2786 2786
check_header dlfcn.h
2787 2787
check_header dxva2api.h
2788 2788
check_header malloc.h
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