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
diego
ed8e92afcc
Remove #warning preprocessor directives
...
The #warning preprocessor directive is non-standard and not available with all
compilers. Furthermore, the warnings it causes are noisy and have not led to
getting any of the underlying issues fixed in the space of a decade.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32480 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-11-02 04:18:10 +02:00
diego
39f7201ea4
cosmetics: Remove vim/emacs coding style hints from sources
...
The hints are inconsistent and pointless if only present in a few files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32223 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-11-02 04:16:48 +02:00
Uoti Urpala
852570d342
Merge svn changes up to r30216
2010-01-08 02:39:39 +02:00
diego
a4ce4a23b7
Drop -Iloader from CPPFLAGS for the loader subdirectory.
...
Instead use full relative paths in #includes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30212 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-04 20:32:23 +00:00
Uoti Urpala
0eb321bf2c
Remove trailing whitespace from most files
2009-07-07 02:34:35 +03:00
diego
6e9cbdc104
whitespace cosmetics: Remove all trailing whitespace.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-13 02:58:57 +00:00
diego
0792780cb7
Use consistent #include paths without "../".
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26576 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-28 14:50:24 +00:00
diego
7a5924159c
Replace __MINGW32__ preprocessor check with proper HAVE_SYS_MMAN_H check.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26136 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-01 10:16:43 +00:00
diego
3bbe897e24
Fix a ton of illegal identifiers. Identifiers starting with __ or _ and a
...
capital letter are reserved for the system, those starting with _ are
reserved at the file level.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25822 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-20 17:16:39 +00:00
reimar
a20fa53d69
Get rid of another useless cast
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25709 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-13 10:09:39 +00:00
diego
4b3a9ce83e
cosmetics: Fix silly typo.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24414 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-10 13:30:22 +00:00
diego
385c68cdee
warning fixes:
...
dshow/DS_VideoDecoder.c: In function 'DS_VideoDecoder_StartInternal':
dshow/DS_VideoDecoder.c:268: warning: unused variable 'props1'
dshow/DS_VideoDecoder.c:268: warning: unused variable 'props'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24410 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-10 13:17:29 +00:00
diego
4f88dffa13
Get rid of superfluous NOAVIFILE_HEADERS #define, it was always enabled and
...
cluttered the code. Blessed by Reimar.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23447 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-02 12:26:27 +00:00
voroshil
e9e53f8cd0
Rework of copying samples from directshow codecs.
...
Using callback function provided by filter to store and process samples from
codec instead of explicit typecast to DS_Filter.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22416 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-02 18:52:10 +00:00
voroshil
09d15d04c2
Fix loading of mpeg4ds direct show video codec under win32, broken in r22322
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22325 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-23 16:30:10 +00:00
voroshil
e33a1695ba
Fixed loading of VoxWare and wma9sp binary audio codecs using dshow engine.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22322 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-23 08:07:07 +00:00
rtogni
656c22ca16
Precent overflow of this->m_sVhdr->bmiHeader buffer, may have been
...
exploitable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22205 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-11 17:57:02 +00:00
gpoirier
b74e51f49c
Remove illegal definition of underscored-prefixed symbol "__MODULE__":
...
All underscored-prefixed symbols have the right re-defined by the compiler, so it's definitely not safe to use any.
ICC doesn't seem to like it, GCC doesn't seem to care.
Original thread:
date: Jan 25, 2007 2:41 PM
subject: [MPlayer-dev-eng] [PATCH] remove illegal underscored-prefixed symbols
AND
date: 01/25/2007 11:43 AM
subject: Re: [MPlayer-dev-eng] [PATCH] compiling with Intel C
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22019 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-26 09:21:22 +00:00
reynaldo
9d9a15d185
rm unnecesary casts from void* - part 2
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18883 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-02 03:59:36 +00:00
alex
1e5b3460c5
last mingw32 support patch by Sascha Sommer
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9979 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-24 18:48:30 +00:00
alex
597c4bf925
cygwin support patch by Sascha Sommer and some fixes by me
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9968 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-21 21:06:08 +00:00
alex
722e6286b5
a warning fix and rgb15/16 support by Sascha Sommer
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9582 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-14 12:46:49 +00:00
alex
8401d53158
cbAlign=1 fix for proper Windows support (noticed by Sascha Sommer)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9504 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-25 16:17:23 +00:00
arpi
b987127e0e
compiler warning fixes
...
based on patch by Dominik Mierzejewski <[email protected] >
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8452 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-14 17:56:35 +00:00
arpi
d483a015a2
tons of warning fixes, also some 10l bugfixes, including Dominik's PVA bug
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7473 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-22 02:33:28 +00:00
atmos4
cd1c1ab29d
disable annonying debug printf (autoq)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7317 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-08 00:01:06 +00:00
arpi
95f431959a
SetValue: ignore case of 'item'
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6802 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-25 22:13:59 +00:00
alex
0768891d2d
yvu9 and if09 support. fixed i420,iyuv handling
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6528 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-23 16:03:08 +00:00
arpi
d2f8b0440a
possible sig11 fixed - noticed by Fredrik Kuivinen <[email protected] >
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4206 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-17 00:49:21 +00:00
arpi
3b4d807f66
debug--
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3979 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-04 13:42:18 +00:00
arpi
bfb6b8c076
SetValue fixed, iv_State=START enabled (silly xine developers disabled for unknown reason)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3958 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-02 20:26:20 +00:00
arpi
d25cad40a8
headers cleanup
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3947 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-02 17:11:09 +00:00
arpi
e2f3778cb0
avifile merge
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3467 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-11 23:29:11 +00:00
alex
26fc72a94e
do not fault if Filter_Create failed
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3457 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-11 14:48:42 +00:00
arpi
9829ce7b5f
API changes - now fully compatible with C++ version
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3445 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-10 21:53:13 +00:00
arpi
4a7c3f22ec
mplayer integration
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3064 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-22 03:16:31 +00:00
arpi
22e51475e2
xine's bugs fixed - YV50 yv12 and setup_fs
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3061 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-22 00:01:10 +00:00
arpi
937a031d52
imported from xine
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3060 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-21 23:42:06 +00:00
arpi
cf042c89ab
hmm. indeo5ds YV12 fixed?
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2876 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-13 20:32:41 +00:00
arpi
2926386657
iosteram included for cout/cerr
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2075 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-04 15:37:13 +00:00
arpi
f7d7e887d9
killed unneeded dependency on c++ headers
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2073 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-04 11:56:12 +00:00
arpi
4f3776f018
sync with avifile
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2070 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-04 02:21:47 +00:00
arpi
5473cb0123
setup_FS.c -> ldt_keeper.c (avifile sync)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2068 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-04 00:07:15 +00:00
jkeil
a0d8dad7c1
Fix two memory accesses to unallocated memory (detected by electric fence)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1806 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-08-31 19:19:15 +00:00
atmos4
be337a44d6
Commented out annoying printfs with -autoq.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1593 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-08-20 11:31:34 +00:00
arpi
3b78a789e0
Start/Stop state flag fixed - requires for brightness/contrast/etc stuff...
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1556 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-08-16 15:41:03 +00:00
arpi
bda27f2adc
big avifile sync - from now we have common code
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1546 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-08-16 00:50:02 +00:00