0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 20:03:10 +02:00
mpv/loader
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
..
dmo cleanup: Silence compilation warnings on MinGW-w64 2012-03-01 00:22:30 +02:00
dshow cleanup: Silence compilation warnings on MinGW-w64 2012-03-01 00:22:30 +02:00
qtx loader/qtx: cleanup 2010-11-02 04:07:42 +02:00
wine cleanup: Silence compilation warnings on MinGW-w64 2012-03-01 00:22:30 +02:00
afl.c cleanup: Silence compilation warnings on MinGW-w64 2012-03-01 00:22:30 +02:00
com.h Remove extern "C" declarations from loader code. 2010-02-11 14:33:57 +00:00
debug.h Add MPLAYER_ prefix to multiple inclusion guards. 2008-02-23 14:50:55 +00:00
drv.c Rename get_path.[ch] --> path.[ch]. 2010-03-20 23:38:27 +00:00
drv.h Split codec path related code into a separate file to fix Windows build. 2010-03-18 20:44:01 +00:00
elfdll.c loader: Move local_wm extern variable declaration to loader.h 2010-11-02 04:16:46 +02:00
ext.c cleanup: Silence compilation warnings on MinGW-w64 2012-03-01 00:22:30 +02:00
ext.h Get rid of pointless 'extern' keywords. 2008-12-03 23:01:03 +00:00
ldt_keeper.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
ldt_keeper.h loader: Move fs_seg extern variable declaration to ldt_keeper.h 2010-11-02 04:16:45 +02:00
loader.h loader: Move local_wm extern variable declaration to loader.h 2010-11-02 04:16:46 +02:00
module.c cleanup: Silence compilation warnings on MinGW-w64 2012-03-01 00:22:30 +02:00
pe_image.c cleanup: Silence compilation warnings on MinGW-w64 2012-03-01 00:22:30 +02:00
pe_resource.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
qt_comp_template.c loader: Rename loader/qt_comp.h --> loader/qt_comp_template.c 2010-11-02 04:10:48 +02:00
qt_fv.h Add missing header #includes to fix 'make checkheaders'. 2010-01-04 19:04:33 +00:00
registry.c cleanup: Silence compilation warnings on MinGW-w64 2012-03-01 00:22:30 +02:00
registry.h Remove extern "C" declarations from loader code. 2010-02-11 14:33:57 +00:00
resource.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vfl.c cosmetics: Remove some obsolete and misleading comments 2010-11-02 04:18:37 +02:00
win32.c cleanup: Silence compilation warnings on MinGW-w64 2012-03-01 00:22:30 +02:00
win32.h Remove disabled AVIFILE-specific preprocessor code. 2010-02-08 10:14:42 +00:00
wineacm.h cosmetics: Remove vim/emacs coding style hints from sources 2010-11-02 04:16:48 +02:00
wrapper.h cosmetics: Remove pointless empty lines at EOF. 2010-02-20 21:02:49 +00:00
wrapper.S Merge svn changes up to r30514 2010-03-09 19:58:02 +02:00