(video_thread_wrapper.c) Fix 'declaration shadows local variable'