[xiph-cvs] cvs commit: speex/libspeex bits.c cb_search.c lsp.c ltp.c misc.c misc.h modes.c nb_celp.c quant_lsp.c sb_celp.c speex_callbacks.c speex_header.c

Stan Seibert volsung at mailsnare.net
Mon Jan 6 19:38:40 PST 2003



On Sun, 2003-01-05 at 22:18, Jean-Marc Valin wrote:
> 1.6       +35 -0     speex/libspeex/misc.c
> 
> Index: misc.c
> ===================================================================
> RCS file: /usr/local/cvsroot/speex/libspeex/misc.c,v
> retrieving revision 1.5
> retrieving revision 1.6
> diff -u -r1.5 -r1.6
> --- misc.c	27 Oct 2002 06:01:30 -0000	1.5
> +++ misc.c	6 Jan 2003 04:18:11 -0000	1.6

<snip, snip>

> +float _speex_putc(int ch, void *file)
> +{
> +   FILE *f = (FILE *)file;
> +   fputc(ch, f);
> +
> +}

Whoops.  Looks like that should be:

int _speex_putc(int ch, void *file)
{
    FILE *f = (FILE *)file;
    return fputc(ch,f);
}

And correspondingly, 

int _speex_putc(int ch, void *file);

in misc.h.

<p>Incidentally, this actually crashed gcc 3.2, which is how I noticed it. 
:)


---
Stan Seibert

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.




More information about the commits mailing list