camera/drv-v4l2.c
static int capture_munmap(V4L2Capture *dev){
  int res=0;
  int i;
  for (i=0; i < dev->frames ; i++){
    munmap(dev->framesbuffer[i].data,dev->framesbuffer[i].buflen);
    dev->framesbuffer[i].data = 0;
    dev->framesbuffer[i].buflen = 0;
  }
  return res;
	
}
/**
 *  @todo  implement vidFrameMunmap() to avoid to access VidFrame
 *  member attributes directly 
 */
@todo  implement vidFrameMunmap() to avoid to access VidFrame
member attributes directly
@todo implement vidFrameMunmap () to avoid to access VidFrame member attributes directly
static int capture_munmap(V4L2Capture *dev){
  int res=0;
  int i;
  for (i=0; i < dev->frames ; i++){
    munmap(dev->framesbuffer[i].data,dev->framesbuffer[i].buflen);
    dev->framesbuffer[i].data = 0;
    dev->framesbuffer[i].buflen = 0;
  }
  return res;
}
static int capture_munmap ( V4L2Capture * dev ) { int res = 0 ; int i ; for ( i = 0 ; i < dev -> frames ; i ++ ) { munmap ( dev -> framesbuffer [ i ] . data , dev -> framesbuffer [ i ] . buflen ) ; dev -> framesbuffer [ i ] . data = 0 ; dev -> framesbuffer [ i ] . buflen = 0 ; } return res ; }
@todo  implement vidFrameMunmap() to avoid to access VidFrame
  member attributes directly
@todo implement vidFrameMunmap () to avoid to access VidFrame member attributes directly