Alex 'AdUser' Z
10 years ago
2 changed files with 19 additions and 0 deletions
@ -0,0 +1,15 @@
|
||||
#include "common.h" |
||||
#include "database.h" |
||||
#include "sampler.h" |
||||
|
||||
int main(int argc, char **argv) |
||||
{ |
||||
char * const source = "sample.png"; |
||||
imdb_rec_t rec; |
||||
int ret = 0; |
||||
|
||||
memset(&rec, 0x0, sizeof(imdb_rec_t)); |
||||
ret = imdb_sample(&rec, source); |
||||
|
||||
exit(ret == 0 ? EXIT_SUCCESS : EXIT_FAILURE); |
||||
} |
Loading…
Reference in new issue