[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec qdm2.c,1.7,1.8

Erik Slagter erik
Thu Feb 2 11:00:41 CET 2006

On Thu, 2006-02-02 at 03:15 +0100, Alexander Strasser wrote:
> > >> >> > -static void softclip_table_init() {
> > >> >> > +static void softclip_table_init(void) {
> > >> >> 

>   That's one way you could look at it, but don't you think there
> are more ways? Like you specify parameters in the parameter list
> and that no specified parameter means no parameters? I find this
> also much easier to read. This by the way is also analog to the
> way you pass no parameters to a function.

The way the ANSI C compiler deals with this is very simple (and clear);
no parameters means old-fashioned declaration where the parameters are
not declared at all, and using (void) means there are no parameters.
That is the way to go, there are no "alternatives", I guess you'll have
to adapt to it ;-) You will be assimilated, resistance is futile!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2771 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20060202/323b76b2/attachment.bin>

More information about the ffmpeg-cvslog mailing list