diff --git a/plugins/obs-ffmpeg/ffmpeg-mux/ffmpeg-mux.c b/plugins/obs-ffmpeg/ffmpeg-mux/ffmpeg-mux.c index 18255fad8..8b0cb648f 100644 --- a/plugins/obs-ffmpeg/ffmpeg-mux/ffmpeg-mux.c +++ b/plugins/obs-ffmpeg/ffmpeg-mux/ffmpeg-mux.c @@ -47,6 +47,13 @@ #define AVIO_BUFFER_SIZE 65536 +#if defined(_WIN32) && !defined(ENABLE_FFMPEG_MUX_DEBUG) +#define fprintf(...) +#define printf(...) +#define fflush(x) +#define puts(x) +#endif + /* ------------------------------------------------------------------------- */ static char *global_stream_key = "";