sdp: Do not assign -1 to an unsigned variable, use 0 instead

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=697162
This commit is contained in:
Jose Antonio Santos Cadenas 2013-04-02 17:09:48 +02:00 committed by Wim Taymans
parent 83468609d8
commit 0940dae793

View file

@ -1959,7 +1959,7 @@ gst_sdp_parse_line (SDPContext * c, gchar type, gchar * buffer)
nmedia.num_ports = atoi (slash + 1);
} else {
nmedia.port = atoi (str);
nmedia.num_ports = -1;
nmedia.num_ports = 0;
}
READ_STRING (nmedia.proto);
do {