1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-14 02:45:43 +00:00
mpv/libao2
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
..
.cvsignore
ao_alsa5.c
ao_alsa.c Patch by Stefan Huehner / stefan % huehner ! org \ 2006-02-09 14:08:03 +00:00
ao_arts.c Patch by Stefan Huehner / stefan % huehner ! org \ 2006-02-09 14:08:03 +00:00
ao_dsound.c DirectSound's GetVolume and SetVolume use 100ths of decibels and range from -10,000 to 0. 2005-11-11 03:07:01 +00:00
ao_dxr2.c Link was a bit dated (but still working :-)) 2005-11-29 19:53:05 +00:00
ao_esd.c Patch by Stefan Huehner / stefan % huehner ! org \ 2006-02-09 14:08:03 +00:00
ao_jack.c name suboption for jack to set client name 2005-08-18 09:40:59 +00:00
ao_macosx.c remove delay when setting audio volume 2005-07-19 14:36:13 +00:00
ao_mpegpes.c Patch by Stefan Huehner / stefan % huehner ! org \ 2006-02-09 14:08:03 +00:00
ao_nas.c Patch by Stefan Huehner / stefan % huehner ! org \ 2006-02-09 14:08:03 +00:00
ao_null.c Patch by Stefan Huehner / stefan % huehner ! org \ 2006-02-09 14:08:03 +00:00
ao_oss.c Patch by Stefan Huehner / stefan % huehner ! org \ 2006-02-09 14:08:03 +00:00
ao_pcm.c Patch by Stefan Huehner / stefan % huehner ! org \ 2006-02-09 14:08:03 +00:00
ao_polyp.c
ao_sdl.c Patch by Stefan Huehner / stefan % huehner ! org \ 2006-02-09 14:08:03 +00:00
ao_sgi.c General bug fixes, like missing includes, formats that were incorrectly 2005-10-04 22:23:51 +00:00
ao_sun.c
ao_win32.c
audio_out_internal.h Patch by Stefan Huehner / stefan % huehner ! org \ 2006-02-09 14:08:03 +00:00
audio_out.c Patch by Stefan Huehner / stefan % huehner ! org \ 2006-02-09 14:08:03 +00:00
audio_out.h Patch by Stefan Huehner / stefan % huehner ! org \ 2006-02-09 14:08:03 +00:00
Makefile Make clean/distclean behave uniformly in all directories. 2006-01-27 00:06:42 +00:00