# HG changeset patch # User michael # Date 1252532688 0 # Node ID 6cd8b6fd5f0fe57f8a2b5a19e50e4c0d0a23a55a # Parent 29cedcc646fe57c631a0f07c7b077785ac94c551 Check thread count as multithreaded decoding is not supported. Fixes issue1292 diff -r 29cedcc646fe -r 6cd8b6fd5f0f svq3.c --- a/svq3.c Tue Sep 08 19:25:54 2009 +0000 +++ b/svq3.c Wed Sep 09 21:44:48 2009 +0000 @@ -784,6 +784,11 @@ unsigned char *extradata; unsigned int size; + if(avctx->thread_count > 1){ + av_log(avctx, AV_LOG_ERROR, "SVQ3 does not support multithreaded decoding, patch welcome! (check latest SVN too)\n"); + return -1; + } + if (decode_init(avctx) < 0) return -1;