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:
parent
83468609d8
commit
0940dae793
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user