f1deb8e330
Fixes "warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]" with clang https://en.cppreference.com/w/cpp/keyword/register
This code is partially based in the code written and released under GPL by Nick Andrew <nick@nick-andrew.net>, for the "video-capture" program. You can find the original sources of that program in the "orig" folder in these sources.