1
0
Fork 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 007f706d5d
commit e40b1a9214
Signed by: hendrik
GPG Key ID: 846079A4B0A7C1B5
1 changed files with 1 additions and 1 deletions

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);