fixig std::bad_alloc
authorAhmatnurov Dinar <ahmatnurov.d@gmail.com>
Mon, 16 Feb 2015 13:28:33 +0000 (16:28 +0300)
committerAhmatnurov Dinar <ahmatnurov.d@gmail.com>
Mon, 16 Feb 2015 14:15:54 +0000 (17:15 +0300)
commit21ee113af30a2efba8faac4811d55822ff878b0e
tree95fb244efd535341f649a1a0adb330010aceefda
parentfdf31ec14fae92efb8d32d4e3838f149935f90b4
fixig std::bad_alloc
if points0 is empty checkVector(2) return -1, it causes the exception
modules/videostab/src/global_motion.cpp