[xiph-cvs] cvs commit: vorbis/examples decoder_example.c seeking_example.c vorbisfile_example.c
Segher Boessenkool
segher at xiph.org
Mon Dec 17 17:07:56 PST 2001
segher 01/12/17 17:07:55
Modified: examples decoder_example.c seeking_example.c
vorbisfile_example.c
Log:
squash annoying warnings.
Revision Changes Path
1.23 +2 -2 vorbis/examples/decoder_example.c
Index: decoder_example.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis/examples/decoder_example.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- decoder_example.c 2001/09/17 01:06:18 1.22
+++ decoder_example.c 2001/12/18 01:07:53 1.23
@@ -11,7 +11,7 @@
********************************************************************
function: simple example decoder
- last mod: $Id: decoder_example.c,v 1.22 2001/09/17 01:06:18 cwolf Exp $
+ last mod: $Id: decoder_example.c,v 1.23 2001/12/18 01:07:53 segher Exp $
********************************************************************/
@@ -38,7 +38,7 @@
ogg_int16_t convbuffer[4096]; /* take 8k out of the data segment, not the stack */
int convsize=4096;
-int main(int argc, char **argv){
+int main(){
ogg_sync_state oy; /* sync and verify incoming physical bitstream */
ogg_stream_state os; /* take physical pages, weld into a logical
stream of packets */
1.11 +2 -2 vorbis/examples/seeking_example.c
Index: seeking_example.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis/examples/seeking_example.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- seeking_example.c 2001/09/17 01:06:18 1.10
+++ seeking_example.c 2001/12/18 01:07:54 1.11
@@ -11,7 +11,7 @@
********************************************************************
function: illustrate seeking, and test it too
- last mod: $Id: seeking_example.c,v 1.10 2001/09/17 01:06:18 cwolf Exp $
+ last mod: $Id: seeking_example.c,v 1.11 2001/12/18 01:07:54 segher Exp $
********************************************************************/
@@ -59,7 +59,7 @@
}
}
-int main(int argc, char *argv[]){
+int main(){
OggVorbis_File ov;
int i,ret;
ogg_int64_t pcmlength;
1.8 +2 -2 vorbis/examples/vorbisfile_example.c
Index: vorbisfile_example.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis/examples/vorbisfile_example.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- vorbisfile_example.c 2001/09/17 01:06:18 1.7
+++ vorbisfile_example.c 2001/12/18 01:07:54 1.8
@@ -11,7 +11,7 @@
********************************************************************
function: simple example decoder using vorbisfile
- last mod: $Id: vorbisfile_example.c,v 1.7 2001/09/17 01:06:18 cwolf Exp $
+ last mod: $Id: vorbisfile_example.c,v 1.8 2001/12/18 01:07:54 segher Exp $
********************************************************************/
@@ -32,7 +32,7 @@
char pcmout[4096]; /* take 4k out of the data segment, not the stack */
-int main(int argc, char **argv){
+int main(){
OggVorbis_File vf;
int eof=0;
int current_section;
--- >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