mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +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);
|
||||
} else {
|
||||
nmedia.port = atoi (str);
|
||||
nmedia.num_ports = -1;
|
||||
nmedia.num_ports = 0;
|
||||
}
|
||||
READ_STRING (nmedia.proto);
|
||||
do {
|
||||
|
|
Loading…
Reference in a new issue