(video_thread_wrapper.c) Fix 'declaration shadows global variables'