SOURCES: mpg123-audio_nas.patch - updated for 0.62 - fixes stupid ...
shadzik
shadzik at pld-linux.org
Tue Jan 2 01:14:29 CET 2007
Author: shadzik Date: Tue Jan 2 00:14:29 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- updated for 0.62
- fixes stupid syntax error (other one, that one from 0.61 is already upstream fixed)
---- Files affected:
SOURCES:
mpg123-audio_nas.patch (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SOURCES/mpg123-audio_nas.patch
diff -u SOURCES/mpg123-audio_nas.patch:1.1 SOURCES/mpg123-audio_nas.patch:1.2
--- SOURCES/mpg123-audio_nas.patch:1.1 Mon Oct 23 15:00:35 2006
+++ SOURCES/mpg123-audio_nas.patch Tue Jan 2 01:14:24 2007
@@ -1,11 +1,17 @@
---- src/audio_nas.c 2006-10-23 15:01:04.892202480 +0200
-+++ src/audio_nas.c-new 2006-10-23 15:01:19.124038912 +0200
-@@ -189,7 +189,7 @@
- info.buf_size = buf_samples * ai->channels * AuSizeofFormat(format);
- info.buf = (char *) malloc(info.buf_size);
- if (info.buf == NULL) {
-- error("Unable to allocate input/output buffer of size %ld",
-+ error1("Unable to allocate input/output buffer of size %ld",
- info.buf_size);
- return 0;
+--- src/audio_nas.c 2006-10-24 23:56:58.000000000 +0200
++++ src/audio_nas.c-new 2007-01-02 01:10:49.000000000 +0100
+@@ -224,10 +224,12 @@
+ return -1;
+
+ if (!(info.aud = AuOpenServer(ai->device, 0, NULL, 0, NULL, NULL))) {
+- if (ai->device==NULL)
++ if (ai->device==NULL) {
+ error("could not open default NAS server");
+- else
++ }
++ else {
+ error1("could not open NAS server %s\n", ai->device);
++ }
+ return -1;
}
+ info.buf_size = 0;
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/mpg123-audio_nas.patch?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list