[FFmpeg-devel] [PATCH] Increase max thread number
Patrice Bensoussan
patrice.bensoussan
Thu May 28 23:55:52 CEST 2009
Hello,
As the new Mac Pros are now shipping with dual Intel Xeon ?Nehalem?
processors supporting Hyper-Threading and offering 16 virtual cores,
the limitation to 8 threads seems to be a bit low these days... Here
is a patch to increase to 16.
Index: libavcodec/mpegvideo.h
===================================================================
--- libavcodec/mpegvideo.h (revision 18972)
+++ libavcodec/mpegvideo.h (working copy)
@@ -54,7 +54,7 @@
#define MAX_FCODE 7
#define MAX_MV 2048
-#define MAX_THREADS 8
+#define MAX_THREADS 16
#define MAX_PICTURE_COUNT 32
Regards,
Patrice
More information about the ffmpeg-devel
mailing list