File ARToolKit-2.72.1-no-return.patch of Package ARToolKit_v4l

diff -rupN ARToolKit/lib/SRC/VideoGStreamer/video.c ARToolKit_mod/lib/SRC/VideoGStreamer/video.c
--- ARToolKit/lib/SRC/VideoGStreamer/video.c	2007-01-23 01:39:27.000000000 +0100
+++ ARToolKit_mod/lib/SRC/VideoGStreamer/video.c	2010-05-15 21:38:21.037017358 +0200
@@ -129,6 +129,7 @@ arVideoOpen( char *config ) {
     }
     gVid = ar2VideoOpen( config );
     if( gVid == NULL ) return -1;
+    return 0;
 }
 
 int 
@@ -385,4 +386,5 @@ ar2VideoInqSize(AR2VideoParamT *vid, int
    *x = vid->width; // width of your static image
    *y = vid->height; // height of your static image
 
+    return 0;
 }
openSUSE Build Service is sponsored by