]> git.sesse.net Git - vlc/commitdiff
Make INPUT_FSTAT_NB_READS a power of two to ease division
authorRémi Denis-Courmont <remi@remlab.net>
Tue, 24 Nov 2009 21:53:34 +0000 (23:53 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 24 Nov 2009 21:55:30 +0000 (23:55 +0200)
Some instruction sets can't divide (e.g. ARM), but pretty much all of
them can shift bits.

include/vlc_config.h

index ae6e7a19aa1b5d24b1097dd1f5e3a3031146ba76..4f27caf681be31843912f889683b3cec7966e5f9 100644 (file)
@@ -74,7 +74,7 @@
 
 /* Number of read() calls needed until we check the file size through
  * fstat() */
-#define INPUT_FSTAT_NB_READS            10
+#define INPUT_FSTAT_NB_READS            16
 
 /*
  * General limitations