[svn] / branches / release-1_3-branch / xvidcore / src / xvid.c Repository:
ViewVC logotype

Diff of /branches/release-1_3-branch/xvidcore/src/xvid.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1805, Thu Nov 27 00:47:03 2008 UTC revision 1817, Fri Nov 28 16:42:50 2008 UTC
# Line 19  Line 19 
19   *  along with this program ; if not, write to the Free Software   *  along with this program ; if not, write to the Free Software
20   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
21   *   *
22   * $Id: xvid.c,v 1.76 2008-11-27 00:47:03 Isibaar Exp $   * $Id: xvid.c,v 1.77 2008-11-28 16:42:50 Isibaar Exp $
23   *   *
24   ****************************************************************************/   ****************************************************************************/
25    
# Line 674  Line 674 
674          if ((dwProcessAffinityMask & (1<<i)))          if ((dwProcessAffinityMask & (1<<i)))
675            info->num_threads++;            info->num_threads++;
676        }        }
677          if (info->num_threads == 0) {
678            SYSTEM_INFO siSysInfo;
679            GetSystemInfo(&siSysInfo);
680            info->num_threads = siSysInfo.dwNumberOfProcessors; /* number of _logical_ cores */
681          }
682      }      }
683    }    }
684  #else  #else

Legend:
Removed from v.1805  
changed lines
  Added in v.1817

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4