[pulseaudio-commits] r1580 - /branches/lennart/src/pulsecore/pstream.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Mon Aug 6 09:12:56 PDT 2007


Author: lennart
Date: Mon Aug  6 18:12:54 2007
New Revision: 1580

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=3D1580&root=3Dpulseaudio&vi=
ew=3Drev
Log:
initialize 'length' properly

Modified:
    branches/lennart/src/pulsecore/pstream.c

Modified: branches/lennart/src/pulsecore/pstream.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/lennart/src/pulsecore/=
pstream.c?rev=3D1580&root=3Dpulseaudio&r1=3D1579&r2=3D1580&view=3Ddiff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/lennart/src/pulsecore/pstream.c (original)
+++ branches/lennart/src/pulsecore/pstream.c Mon Aug  6 18:12:54 2007
@@ -347,7 +347,8 @@
         return;
 =

     idx =3D 0;
-
+    length =3D chunk->length;
+    =

     while (length > 0) {
         struct item_info *i;
         size_t n;




More information about the pulseaudio-commits mailing list