[xiph-commits] r7353 - icecast/trunk/libshout/examples

brendan at dactyl.lonelymoon.com brendan
Mon Jul 26 12:20:57 PDT 2004


Author: brendan
Date: Mon Jul 26 12:20:57 2004
New Revision: 7353

Modified:
icecast/trunk/libshout/examples/example.c
Log:
Update example to use SHOUT_FORMAT_OGG instead of SHOUT_FORMAT_VORBIS


Modified: icecast/trunk/libshout/examples/example.c
===================================================================
--- icecast/trunk/libshout/examples/example.c	2004-07-26 19:19:47 UTC (rev 7352)
+++ icecast/trunk/libshout/examples/example.c	2004-07-26 19:20:56 UTC (rev 7353)
@@ -48,7 +48,7 @@
return 1;
}

-	if (shout_set_format(shout, SHOUT_FORMAT_VORBIS) != SHOUTERR_SUCCESS) {
+	if (shout_set_format(shout, SHOUT_FORMAT_OGG) != SHOUTERR_SUCCESS) {
printf("Error setting user: %s\n", shout_get_error(shout));
return 1;
}



More information about the commits mailing list