[MPlayer-cvslog] r37764 - in trunk/vidix: mach64_vid.c radeon_vid.c

reimar subversion at mplayerhq.hu
Sat Feb 20 13:17:55 CET 2016


Author: reimar
Date: Sat Feb 20 13:17:55 2016
New Revision: 37764

Log:
VIDIX: revert incorrect parts of r37750.

I misread the code, confusing [i] with [idx].

Modified:
   trunk/vidix/mach64_vid.c
   trunk/vidix/radeon_vid.c

Modified: trunk/vidix/mach64_vid.c
==============================================================================
--- trunk/vidix/mach64_vid.c	Sat Feb 20 13:10:37 2016	(r37763)
+++ trunk/vidix/mach64_vid.c	Sat Feb 20 13:17:55 2016	(r37764)
@@ -429,7 +429,6 @@ static int mach64_probe(int verbose,int
 	const char *dname;
 	idx = find_chip(lst[i].device);
 	if(idx == -1 && force == PROBE_NORMAL) continue;
-	if(idx < 0) idx = 0;
 	dname = pci_device_name(VENDOR_ATI,lst[i].device);
 	dname = dname ? dname : "Unknown chip";
 	mp_msg(MSGT_VO, MSGL_STATUS, "[mach64] Found chip: %s\n",dname);

Modified: trunk/vidix/radeon_vid.c
==============================================================================
--- trunk/vidix/radeon_vid.c	Sat Feb 20 13:10:37 2016	(r37763)
+++ trunk/vidix/radeon_vid.c	Sat Feb 20 13:17:55 2016	(r37764)
@@ -1225,7 +1225,6 @@ static int radeon_probe(int verbose, int
 	const char *dname;
 	idx = find_chip(lst[i].device);
 	if(idx == -1 && force == PROBE_NORMAL) continue;
-	if(idx < 0) idx = 0;
 	dname = pci_device_name(VENDOR_ATI,lst[i].device);
 	dname = dname ? dname : "Unknown chip";
 	mp_msg(MSGT_VO, MSGL_STATUS, RADEON_MSG" Found chip: %s\n",dname);


More information about the MPlayer-cvslog mailing list