提交 67739141 编写于 作者: R Roman Donchenko 提交者: OpenCV Buildbot

Merge pull request #1783 from SpecLad:cap-no-pattern

......@@ -203,7 +203,7 @@ static char* icvExtractPattern(const char *filename, unsigned *offset)
for(at = name; *at && !isdigit(*at); at++)
;
if(!at)
if(!*at)
return 0;
sscanf(at, "%u", offset);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册