ffmpeg: use the correct variables in do_video_stats()