mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
parent
4689acd68f
commit
2f4c65bb06
1 changed files with 5 additions and 5 deletions
|
@ -343,12 +343,12 @@ sdp_check_header (GstTypeFind * tf)
|
|||
if (memcmp (data, "v=0", 3))
|
||||
return FALSE;
|
||||
|
||||
if (data[3] == '\r' && data[4] != '\n')
|
||||
return FALSE;
|
||||
if (data[3] != '\n')
|
||||
return FALSE;
|
||||
if (data[3] == '\r' && data[4] == '\n')
|
||||
return TRUE;
|
||||
if (data[3] == '\n')
|
||||
return TRUE;
|
||||
|
||||
return TRUE;
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue