1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 00:02:13 +00:00
mpv/libmpeg2
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 Move ignores in subdirs to their respective .cvsignore files. 2001-11-17 23:55:40 +00:00
alloc.c Importing libmpeg2 from mpeg2dec-0.4.0b 2004-08-02 11:26:43 +00:00
alpha_asm.h Importing libmpeg2 from mpeg2dec-0.4.0b 2004-08-02 11:26:43 +00:00
attributes.h Mark locally modified files as such to comply more closely with GPL 2a. 2005-02-19 02:32:12 +00:00
cpu_accel.c set define for apple gcc altivec 2005-05-15 20:11:34 +00:00
cpu_state.c set define for apple gcc altivec 2005-05-15 20:11:34 +00:00
decode.c Mark locally modified files as such to comply more closely with GPL 2a. 2005-02-19 02:32:12 +00:00
header.c Mark locally modified files as such to comply more closely with GPL 2a. 2005-02-19 02:32:12 +00:00
idct_alpha.c Mark locally modified files as such to comply more closely with GPL 2a. 2005-02-19 02:32:12 +00:00
idct_altivec.c set define for apple gcc altivec 2005-05-15 20:11:34 +00:00
idct_mmx.c Mark locally modified files as such to comply more closely with GPL 2a. 2005-02-19 02:32:12 +00:00
idct.c Mark locally modified files as such to comply more closely with GPL 2a. 2005-02-19 02:32:12 +00:00
libmpeg-0.4.0.diff Update patch with missing changes. 2005-02-19 01:52:46 +00:00
Makefile Make clean/distclean behave uniformly in all directories. 2006-01-27 00:06:42 +00:00
mmx.h Importing libmpeg2 from mpeg2dec-0.4.0b 2004-08-02 11:26:43 +00:00
motion_comp_alpha.c Importing libmpeg2 from mpeg2dec-0.4.0b 2004-08-02 11:26:43 +00:00
motion_comp_altivec.c Importing libmpeg2 from mpeg2dec-0.4.0b 2004-08-02 11:26:43 +00:00
motion_comp_mmx.c Patch by Stefan Huehner / stefan % huehner ! org \ 2006-02-09 14:08:03 +00:00
motion_comp_vis.c Importing libmpeg2 from mpeg2dec-0.4.0b 2004-08-02 11:26:43 +00:00
motion_comp.c Mark locally modified files as such to comply more closely with GPL 2a. 2005-02-19 02:32:12 +00:00
mpeg2_internal.h Mark locally modified files as such to comply more closely with GPL 2a. 2005-02-19 02:32:12 +00:00
mpeg2.h Mark locally modified files as such to comply more closely with GPL 2a. 2005-02-19 02:32:12 +00:00
slice.c Mark locally modified files as such to comply more closely with GPL 2a. 2005-02-19 02:32:12 +00:00
vis.h Importing libmpeg2 from mpeg2dec-0.4.0b 2004-08-02 11:26:43 +00:00
vlc.h Importing libmpeg2 from mpeg2dec-0.4.0b 2004-08-02 11:26:43 +00:00