avdevice/dshow: fix build, ensure that feature enable #defines are set before includes
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 25 Nov 2014 02:49:09 +0000 (03:49 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 25 Nov 2014 03:02:48 +0000 (04:02 +0100)
commit60420fa3dc88590eef20a828805c6d229d8e648a
treef40a83cb71b98f0dd005f81ec6c90cc048f39a44
parentecfafc5f2b632780dd310def1d6b3a2c10565465
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>
libavdevice/dshow.c