mirror of
https://github.com/opencv/opencv.git
synced 2024-11-29 22:00:25 +08:00
Merge pull request #1783 from SpecLad:cap-no-pattern
This commit is contained in:
commit
6773914144
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user