mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
vfwcap: Add fallback define for HWND_MESSAGE
Some obsolete versions of the MinGW32 runtime (<4.0.0) lack the definition.
This commit is contained in:
parent
6ee1cb5740
commit
ab56fabe62
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user