Commit Graph

11 Commits

Author SHA1 Message Date
reynaldo 5b4ec50d44 rm unnecesary void* casts - part 1
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18874 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-01 03:56:13 +00:00
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 3a591997ba printf --> mp_msg by the Wanderer <inverseparadox at comcast dot net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13700 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-20 01:32:56 +00:00
michael 01c201dbe8 warning patch by (Dominik Mierzejewski <dominik at rangers dot eu dot org>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8255 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-23 10:58:14 +00:00
arpi 85da32dd6e accepted. so we're now 110% gpl...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7492 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-23 19:02:21 +00:00
arpi e0dae73677 we don't need dl nor stat functions - why to include tehir headers...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5286 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-23 19:14:13 +00:00
pl 5b981f805a stdint.h replaced by inttypes.h (used more frequently in the sources)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4004 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-06 13:06:51 +00:00
pl 4ff3fa6753 small fixes (=> HAVE_STDINT_H is now defined)
added STREAMING_LIB in config.mak/Makefile

Note: compile via a configure && make without glitches on SunOS


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3920 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-31 15:29:46 +00:00
nexus f584ec4754 <stdint.h> doesn't exist in FreeBSD
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3918 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-31 10:13:11 +00:00
arpi 4418193191 divx4_vbr -> mplayer integration
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2643 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-02 23:58:26 +00:00
arpi 0ba80be603 initial import from transcode
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2642 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-02 23:53:44 +00:00