1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-14 11:01:35 +00:00
mpv/osdep
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
..
getch2-os2.c input: move all key code lists to input/keycodes.h 2011-05-02 00:43:31 +03:00
getch2-win.c cleanup: Silence compilation warnings on MinGW-w64 2012-03-01 00:22:30 +02:00
getch2.c getch2.c: fix negative keycodes returned for non-ascii 2011-10-03 04:12:15 +03:00
getch2.h input: make slave command file descriptors nonblocking 2011-05-04 18:53:17 +03:00
gettimeofday.c
glob-win.c osdep: tweak some #includes 2011-01-31 16:03:10 +02:00
glob.h
macosx_finder_args.c options: change option parsing to use bstr 2011-07-29 05:50:38 +03:00
macosx_finder_args.h
mmap_anon.c
mmap_anon.h
mmap-os2.c osdep: tweak some #includes 2011-01-31 16:03:10 +02:00
mmap.h
mplayer.exe.manifest
mplayer.rc Update copyright year 2012-01-28 13:49:13 +02:00
numcores.c vd_ffmpeg: set thread count to number of cores on machine by default 2010-12-20 05:53:28 +02:00
numcores.h vd_ffmpeg: set thread count to number of cores on machine by default 2010-12-20 05:53:28 +02:00
osdep.h
priority.c build: cygwin: don't rely on _WIN32 being defined 2011-01-29 04:04:53 +02:00
priority.h
setenv.c cleanup: Silence compilation warnings on MinGW-w64 2012-03-01 00:22:30 +02:00
shmem.c
shmem.h
strsep.c osdep: tweak some #includes 2011-01-31 16:03:10 +02:00
strsep.h
swab.c
timer-darwin.c osdep: tweak some #includes 2011-01-31 16:03:10 +02:00
timer-linux.c
timer-win2.c
timer.h
vsscanf.c