diff options
author | Martin Storsjö <martin@martin.st> | 2023-10-22 14:03:29 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2023-10-23 13:08:39 +0300 |
commit | ff5a3575fec2d49d5fae4ec1198a939e203314db (patch) | |
tree | 3fb28a138ee0fa005959ec3dd5b9a2b8cce28a3b /libavcodec/h264_cavlc.c | |
parent | 1762975ba184f4ca84decb2342f60fabaa199962 (diff) | |
download | ffmpeg-ff5a3575fec2d49d5fae4ec1198a939e203314db.tar.gz |
fftools: Check HAVE_GETSTDHANDLE before using GetStdHandle
GetStdHandle is unavailable outside of the desktop API subset.
This didn't use to be a problem with earlier WinSDKs, as kbhit also
used to be available only for desktop apps, and this whole section is
wrapped in #if HAVE_KBHIT. With newer WinSDKs, kbhit() is available also
for non-desktop apps, while GetStdHandle still isn't.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/h264_cavlc.c')
0 files changed, 0 insertions, 0 deletions