Commit d5ee74e5 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'ab56fabe'

* commit 'ab56fabe':
  vfwcap: Add fallback define for HWND_MESSAGE

The merged commit reverts the HWND_MESSAGE removial, and adds a #ifndef around
    commit 8bc52dbd
        vfwcap: Drop fallback VfW defines
        The defines were added long ago when MinGW still lacked them.
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents c2c56d54 ab56fabe
...@@ -27,6 +27,11 @@ ...@@ -27,6 +27,11 @@
#include <vfw.h> #include <vfw.h>
#include "avdevice.h" #include "avdevice.h"
/* Some obsolete versions of MinGW32 before 4.0.0 lack this. */
#ifndef HWND_MESSAGE
#define HWND_MESSAGE ((HWND) -3)
#endif
struct vfw_ctx { struct vfw_ctx {
const AVClass *class; const AVClass *class;
HWND hwnd; HWND hwnd;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment