Move the sources to trunk
[opencv] / interfaces / ch / chfhandmade / cvcamPlayAVI.chf
1 int cvcamPlayAVI(char* file, void* window, int width, int height, void* callback) {
2     void *fptr;
3     int retval;
4
5     fptr = dlsym(_Chcvcam_handle, "cvcamPlayAVI_chdl");
6     if(fptr == NULL) {
7         fprintf(_stderr, "Error: %s(): dlsym(): %s\n", __func__,  dlerror());
8         return -1;
9     }
10     dlrunfun(fptr, &retval, cvcamPlayAVI, file, window, width, height, callback);
11     return retval;
12 }