1
mirror of https://github.com/mpv-player/mpv synced 2024-11-14 22:48:35 +01:00
mpv/loader/dmo
wm4 24be34f1e9 cleanup: Silence compilation warnings on MinGW-w64
Some of the code, especially the dshow and windows codec loader parts,
are extremely hacky and likely full of bugs. The goal is merely getting
rid of warnings that could obscure more important warnings and actual
bugs, instead of fixing actual problems. This reduces the number of
warnings from over 500 to almost the same as when compiling on Linux.

Note that many problems stem from using the ancient wine-derived
windows headers. There are some differences to the "proper" windows
header. Changing the code to compile with the proper headers would be
too much trouble, and it still has to work on Unix.

Some of the changes might actually break compilation on legacy MinGW,
but we don't support that anymore. Always use MinGW-w64, even when
compiling to 32 bit.

Fixes some warnings in the win32 loader code on Linux too.
2012-03-01 00:22:30 +02:00
..
buffer.c Do not cast the results of malloc/calloc/realloc. 2010-02-26 15:01:37 +00:00
DMO_AudioDecoder.c Add header #include for print_wave_header() instead of a forward declaration. 2010-02-18 10:26:39 +00:00
DMO_AudioDecoder.h Add required header #includes to satisfy 'make checkheaders'. 2010-01-04 20:36:27 +00:00
DMO_Filter.h Remove extern "C" declarations from loader code. 2010-02-11 14:33:57 +00:00
dmo_guids.c cosmetics: Remove pointless empty lines at EOF. 2010-02-20 21:02:49 +00:00
dmo_guids.h Drop -Iloader from CPPFLAGS for the loader subdirectory. 2010-01-04 20:32:23 +00:00
dmo_interfaces.h Add MPLAYER_ prefix to multiple inclusion guards. 2008-02-23 14:50:55 +00:00
DMO_VideoDecoder.c cleanup: Silence compilation warnings on MinGW-w64 2012-03-01 00:22:30 +02:00
DMO_VideoDecoder.h Add required header #includes to satisfy 'make checkheaders'. 2010-01-04 20:36:27 +00:00
dmo.c Do not cast the results of malloc/calloc/realloc. 2010-02-26 15:01:37 +00:00
dmo.h Drop -Iloader from CPPFLAGS for the loader subdirectory. 2010-01-04 20:32:23 +00:00