[pulseaudio-commits] r2427 - /branches/glitch-free/src/modules/rtp/sdp.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Thu May 15 10:59:13 PDT 2008


Author: lennart
Date: Thu May 15 19:59:12 2008
New Revision: 2427

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=2427&root=pulseaudio&view=rev
Log:
use pa_bool_t

Modified:
    branches/glitch-free/src/modules/rtp/sdp.c

Modified: branches/glitch-free/src/modules/rtp/sdp.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/glitch-free/src/modules/rtp/sdp.c?rev=2427&root=pulseaudio&r1=2426&r2=2427&view=diff
==============================================================================
--- branches/glitch-free/src/modules/rtp/sdp.c (original)
+++ branches/glitch-free/src/modules/rtp/sdp.c Thu May 15 19:59:12 2008
@@ -117,7 +117,7 @@
 
 pa_sdp_info *pa_sdp_parse(const char *t, pa_sdp_info *i, int is_goodbye) {
     uint16_t port = 0;
-    int ss_valid = 0;
+    pa_bool_t ss_valid = FALSE;
 
     pa_assert(t);
     pa_assert(i);
@@ -202,7 +202,7 @@
                     i->payload = (uint8_t) _payload;
 
                     if (pa_rtp_sample_spec_from_payload(i->payload, &i->sample_spec))
-                        ss_valid = 1;
+                        ss_valid = TRUE;
                 }
             }
         } else if (pa_startswith(t, "a=rtpmap:")) {
@@ -222,7 +222,7 @@
                         c[strcspn(c, "\n")] = 0;
 
                         if (parse_sdp_sample_spec(&i->sample_spec, c))
-                            ss_valid = 1;
+                            ss_valid = TRUE;
                     }
                 }
             }




More information about the pulseaudio-commits mailing list