1
mirror of https://github.com/mpv-player/mpv synced 2024-11-18 21:16:10 +01:00
Commit Graph

8 Commits

Author SHA1 Message Date
rathann
e7db4ccf1a Patch by Stefan Huehner / stefan % huehner ! org \
patch replaces '()' for the correct '(void)' in function
declarations/prototypes which have no parameters. The '()' syntax tell
thats there is a variable list of arguments, so that the compiler cannot
check this. The extra CFLAG '-Wstrict-declarations' shows those cases.

Comments about a similar patch applied to ffmpeg:

That in C++ these mean the same, but in ANSI C the semantics are
different; function() is an (obsolete) K&R C style forward declaration,
it basically means that the function can have any number and any types
of parameters, effectively completely preventing the compiler from doing
any sort of type checking. -- Erik Slagter

Defining functions with unspecified arguments is allowed but bad.
With arguments unspecified the compiler can't report an error/warning
if the function is called with incorrect arguments. -- Måns Rullgård


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17567 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-09 14:08:03 +00:00
diego
1270185b0f Mark locally modified files as such to comply more closely with GPL 2a.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14733 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-19 02:32:12 +00:00
aurel
1ff43b7f48 enable mmx support on x86_64 in libmpeg2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13865 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-03 17:12:01 +00:00
henry
943139cc78 Importing libmpeg2 from mpeg2dec-0.4.0b
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12933 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-02 11:26:43 +00:00
alex
1cfb64af26 sync with libmpeg2 cvs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10304 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-06-17 22:54:45 +00:00
arpi
0b6eb24b9a Importing libmpeg2 from mpeg2dec-0.3.1
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9853 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-06 16:36:02 +00:00
arpi_esp
156ec7764e libmpeg2-0.2.0 merge
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-03-04 21:01:54 +00:00
arpi_esp
d34041569e Initial revision
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-02-24 20:28:24 +00:00