1
0

HACK: Disable automatic multi-threading.

Using multi-threading for stream probing is a bad idea.
This commit is contained in:
Hendrik Leppkes 2012-01-04 19:27:58 +01:00
parent a8056531da
commit 3d5976c4ae
Signed by: hendrik
GPG Key ID: 846079A4B0A7C1B5

View File

@ -23,7 +23,7 @@
/* H.264 slice threading seems to be buggy with more than 16 threads,
* limit the number of threads to 16 for automatic detection */
#define MAX_AUTO_THREADS 16
#define MAX_AUTO_THREADS 1
int ff_slice_thread_init(AVCodecContext *avctx);
void ff_slice_thread_free(AVCodecContext *avctx);