summaryrefslogtreecommitdiff
path: root/libavdevice/dshow.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-11-25 03:49:09 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-11-25 04:02:48 +0100
commit60420fa3dc88590eef20a828805c6d229d8e648a (patch)
treef40a83cb71b98f0dd005f81ec6c90cc048f39a44 /libavdevice/dshow.c
parentecfafc5f2b632780dd310def1d6b3a2c10565465 (diff)
downloadffmpeg-60420fa3dc88590eef20a828805c6d229d8e648a.tar.gz
avdevice/dshow: fix build, ensure that feature enable #defines are set before includes
dshow_capture.h sets up various flags before including windows headers this must occur before other headers (like os_support.h) include these headers without the setup This could be fixed differently but for now this fixes building on mingw Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavdevice/dshow.c')
-rw-r--r--libavdevice/dshow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
index a54324994e..59d0818a49 100644
--- a/libavdevice/dshow.c
+++ b/libavdevice/dshow.c
@@ -19,13 +19,13 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include "dshow_capture.h"
#include "libavutil/parseutils.h"
#include "libavutil/pixdesc.h"
#include "libavutil/opt.h"
#include "libavformat/internal.h"
#include "libavformat/riff.h"
#include "avdevice.h"
-#include "dshow_capture.h"
#include "libavcodec/raw.h"
struct dshow_ctx {