Camera tracking integration

===========================

Fixed bug with uninitialized memory usage when preparing frame number
from movie clip file name.

This error lead to incorrect offset for image sequence. Not sure why this
works fine for some cases, but this easily leads to incorrect footage
caching.
This commit is contained in:
Sergey Sharybin 2011-06-12 20:13:06 +00:00
parent a9200e8218
commit 828a634316

@ -77,7 +77,7 @@
static int sequence_guess_offset(const char *full_name, int head_len, int numlen)
{
char num[FILE_MAX];
char num[FILE_MAX]= {0};
strncpy(num, full_name+head_len, numlen);