Add : in netcam_url path spec

This commit is contained in:
Mr Dave
2015-09-30 20:27:47 -06:00
parent 0badf12210
commit 2f0fd7dec1
2 changed files with 2 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
Summary of Changes
* Allow : in non standard locations of netcam_url path.
* Eliminated the use of coded_frame (Was a redundant assignment)
* Revise HEVC to use H264 for older ffmpeg
* Add HEVC codec option for newer ffmpeg (momo-i)

View File

@@ -149,7 +149,7 @@ static void netcam_url_parse(struct url_t *parse_url, const char *text_url)
int i;
const char *re = "(http|ftp|mjpg|mjpeg|rtsp)://(((.*):(.*))@)?"
"([^/:]|[-.a-z0-9]+)(:([0-9]+))?($|(/[^:]*))";
"([^/:]|[-.a-z0-9]+)(:([0-9]+))?($|(/[^*]*))";
regex_t pattbuf;
regmatch_t matches[10];