[MPlayer-matrox] r266 - mga_vid/trunk/mga_vid.c

attila subversion at mplayerhq.hu
Sat May 24 18:47:33 CEST 2008


Author: attila
Date: Sat May 24 18:47:32 2008
New Revision: 266

Log:
make sure capabilities are set to zero, for now


Modified:
   mga_vid/trunk/mga_vid.c

Modified: mga_vid/trunk/mga_vid.c
==============================================================================
--- mga_vid/trunk/mga_vid.c	(original)
+++ mga_vid/trunk/mga_vid.c	Sat May 24 18:47:32 2008
@@ -677,6 +677,7 @@ static int mga_vid_ioctl(struct inode *i
 		// return some information back to user space in case we hit an error
 		card->config.card_type = card->card_type;
 		card->config.ram_size = card->ram_size;
+		card->config.capabilities = 0;
 		if (copy_to_user ((mga_vid_config_t *) arg, &card->config, sizeof(mga_vid_config_t))) {
 			printk(KERN_ERR "mga_vid: failed copy to userspace\n");
 			return (-EFAULT);



More information about the MPlayer-matrox mailing list