mirror of
https://github.com/mpv-player/mpv
synced 2024-12-12 01:46:16 +00:00
e7db4ccf1a
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 |
||
---|---|---|
.. | ||
codebook | ||
.cvsignore | ||
analysis.h | ||
bits.c | ||
bits.h | ||
cfft_tab.h | ||
cfft.c | ||
cfft.h | ||
common.c | ||
common.h | ||
decoder.c | ||
decoder.h | ||
drc.c | ||
drc.h | ||
error.c | ||
error.h | ||
faad.h | ||
filtbank.c | ||
filtbank.h | ||
fixed.h | ||
hcr.c | ||
huffman.c | ||
huffman.h | ||
ic_predict.c | ||
ic_predict.h | ||
iq_table.h | ||
is.c | ||
is.h | ||
kbd_win.h | ||
local_changes.diff | ||
lt_predict.c | ||
lt_predict.h | ||
Makefile | ||
mdct_tab.h | ||
mdct.c | ||
mdct.h | ||
mp4.c | ||
mp4.h | ||
ms.c | ||
ms.h | ||
neaacdec.h | ||
output.c | ||
output.h | ||
pns.c | ||
pns.h | ||
ps_dec.c | ||
ps_dec.h | ||
ps_syntax.c | ||
ps_tables.h | ||
pulse.c | ||
pulse.h | ||
README | ||
rvlc.c | ||
rvlc.h | ||
sbr_dct.c | ||
sbr_dct.h | ||
sbr_dec.c | ||
sbr_dec.h | ||
sbr_e_nf.c | ||
sbr_e_nf.h | ||
sbr_fbt.c | ||
sbr_fbt.h | ||
sbr_hfadj.c | ||
sbr_hfadj.h | ||
sbr_hfgen.c | ||
sbr_hfgen.h | ||
sbr_huff.c | ||
sbr_huff.h | ||
sbr_noise.h | ||
sbr_qmf_c.h | ||
sbr_qmf.c | ||
sbr_qmf.h | ||
sbr_syntax.c | ||
sbr_syntax.h | ||
sbr_tf_grid.c | ||
sbr_tf_grid.h | ||
sine_win.h | ||
specrec.c | ||
specrec.h | ||
ssr_fb.c | ||
ssr_fb.h | ||
ssr_ipqf.c | ||
ssr_ipqf.h | ||
ssr_win.h | ||
ssr.c | ||
ssr.h | ||
structs.h | ||
syntax.c | ||
syntax.h | ||
tns.c | ||
tns.h |
This is a FAAD2 2.1 beta CVS snapshot from 2004-07-12. Only the content of the libfaad/ and include/ subdirectories is present here. MPlayer-specific modifications can be found in local_changes.diff.