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

pull/1773/merge
Roman Donchenko 11 years ago committed by OpenCV Buildbot
commit 6773914144
  1. 2
      modules/highgui/src/cap_images.cpp

@ -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…
Cancel
Save