Browse Source

Merge commit 'ab56fabe6294524e99815451ad01e4ff50c6d734'

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

The merged commit reverts the HWND_MESSAGE removial, and adds a #ifndef around
    commit 8bc52dbd9d
        vfwcap: Drop fallback VfW defines
        The defines were added long ago when MinGW still lacked them.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.4
Michael Niedermayer 10 years ago
parent
commit
d5ee74e57d
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      libavdevice/vfwcap.c

+ 5
- 0
libavdevice/vfwcap.c View File

@@ -27,6 +27,11 @@
#include <vfw.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 {
const AVClass *class;
HWND hwnd;


Loading…
Cancel
Save