1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-24 07:42:17 +00:00
mpv/loader/dshow
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
..
allocator.c cleanup: Silence compilation warnings on MinGW-w64 2012-03-01 00:22:30 +02:00
allocator.h
cmediasample.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
cmediasample.h
DS_AudioDecoder.c
DS_AudioDecoder.h
DS_Filter.c cleanup: Silence compilation warnings on MinGW-w64 2012-03-01 00:22:30 +02:00
DS_Filter.h
DS_VideoDecoder.c cleanup: Silence compilation warnings on MinGW-w64 2012-03-01 00:22:30 +02:00
DS_VideoDecoder.h
graph.c cleanup: Silence compilation warnings on MinGW-w64 2012-03-01 00:22:30 +02:00
graph.h cleanup: Silence compilation warnings on MinGW-w64 2012-03-01 00:22:30 +02:00
guids.c
guids.h
inputpin.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
inputpin.h
interfaces.h
iunk.h
libwin32.h
mediatype.c
mediatype.h
outputpin.c cleanup: Silence compilation warnings on MinGW-w64 2012-03-01 00:22:30 +02:00
outputpin.h