1
0
mirror of https://git.ffmpeg.org/ffmpeg.git synced 2025-03-23 11:29:03 +00:00

vfwcap: Add fallback define for HWND_MESSAGE

Some obsolete versions of the MinGW32 runtime (<4.0.0) lack the definition.

(cherry picked from commit ab56fabe62)
Signed-off-by: Diego Biurrun <diego@biurrun.de>
This commit is contained in:
Diego Biurrun 2014-08-25 17:26:15 +02:00
parent 63795fe5b9
commit 0263750a0d

View File

@ -27,6 +27,11 @@
#include <windows.h>
#include <vfw.h>
/* Some obsolete versions of MinGW32 before 4.0.0 lack this. */
#ifndef HWND_MESSAGE
#define HWND_MESSAGE ((HWND) -3)
#endif
struct vfw_ctx {
const AVClass *class;
HWND hwnd;