mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-09-03 10:43:55 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -1959,7 +1959,7 @@ gst_sdp_parse_line (SDPContext * c, gchar type, gchar * buffer)
|
||||||
nmedia.num_ports = atoi (slash + 1);
|
nmedia.num_ports = atoi (slash + 1);
|
||||||
} else {
|
} else {
|
||||||
nmedia.port = atoi (str);
|
nmedia.port = atoi (str);
|
||||||
nmedia.num_ports = -1;
|
nmedia.num_ports = 0;
|
||||||
}
|
}
|
||||||
READ_STRING (nmedia.proto);
|
READ_STRING (nmedia.proto);
|
||||||
do {
|
do {
|
||||||
|
|
Loading…
Reference in a new issue