mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-08 07:38:30 +00:00
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>
This commit is contained in:
parent
ecfafc5f2b
commit
60420fa3dc
@ -19,13 +19,13 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "dshow_capture.h"
|
||||||
#include "libavutil/parseutils.h"
|
#include "libavutil/parseutils.h"
|
||||||
#include "libavutil/pixdesc.h"
|
#include "libavutil/pixdesc.h"
|
||||||
#include "libavutil/opt.h"
|
#include "libavutil/opt.h"
|
||||||
#include "libavformat/internal.h"
|
#include "libavformat/internal.h"
|
||||||
#include "libavformat/riff.h"
|
#include "libavformat/riff.h"
|
||||||
#include "avdevice.h"
|
#include "avdevice.h"
|
||||||
#include "dshow_capture.h"
|
|
||||||
#include "libavcodec/raw.h"
|
#include "libavcodec/raw.h"
|
||||||
|
|
||||||
struct dshow_ctx {
|
struct dshow_ctx {
|
||||||
|
Loading…
Reference in New Issue
Block a user