Install FFmpeg with homebrew. You'll need to install it with a couple flags for webm and the AAC audio codec.
brew install ffmpeg --with-libvpx --with-libvorbis --with-fdk-aac --with-opus
/* An example of the minimal Win32 & OpenGL program. It only works in | |
16 bit color modes or higher (since it doesn't create a | |
palette). */ | |
#include <windows.h> /* must include this before GL/gl.h */ | |
#include <GL/gl.h> /* OpenGL header file */ | |
#include <GL/glu.h> /* OpenGL utilities header file */ | |
#include <stdio.h> |
Release/Debug: | |
General -> Whole Program Optimization -> No Whole Program Optimization | |
Linker -> Input -> Ignore All Default Libraries = Yes | |
Linker -> Manifest File -> Generate Manifest = Disabled | |
Linker -> Advanced -> Entry Point = (set EntryPointName) | |
C/C++ -> Code Generation -> Security Check = Disable Security Check | |
C/C++ -> Optimization -> Optimization = Disabled | |
C/C++ -> General -> SDL checks = (remove value) | |
C/C++ -> Advanced -> Compile As = Compile as C Code (if need C90) |
#include <Windows.h> | |
#define OFFSET_InstrumentationCallbackSp 0x2d0 | |
#define OFFSET_InstrumentationCallbackPreviousPc 0x2d8 | |
#define OFFSET_InstrumentationCallbackPreviousSp 0x2e0 | |
#define OFFSET_InstrumentationCallbackDisabled 0x2ec | |
#define OFFSET_Instrumentation 0x16b8 | |
typedef struct SyscallInstrumentation { | |
BYTE InstrumentationCallbackDisabled; |
// The MIT License(MIT) | |
// | |
// Copyright(c) 2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy of | |
// this software and associated documentation files(the "Software"), to deal in | |
// the Software without restriction, including without limitation the rights to | |
// use, copy, modify, merge, publish, distribute, sublicense, and / or sell copies of | |
// the Software, and to permit persons to whom the Software is furnished to do so, | |
// subject to the following conditions : |