diff options
author | Alexander Strange <astrange@ithinksw.com> | 2010-12-15 03:22:47 +0300 |
---|---|---|
committer | Alexander Strange <astrange@ithinksw.com> | 2010-12-15 03:22:47 +0300 |
commit | 0f01602362f20bbc819dd07926cd2bb0a89a6c4d (patch) | |
tree | 5909f47df19a2684a0cf06f69e6164c33a0f8d88 /libavcodec/svq3.c | |
parent | 1aa58c6405dad2663257260b993791f43c0da76b (diff) |
SVQ3: Allow decoding if thread_count is > 1
svq3 still doesn't support multithreading, but it's simpler for clients if
they can enable threading for all codecs by default.
Originally committed as revision 26015 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/svq3.c')
-rw-r--r-- | libavcodec/svq3.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c index df2acd8955..4a4a1c52cd 100644 --- a/libavcodec/svq3.c +++ b/libavcodec/svq3.c @@ -796,11 +796,6 @@ static av_cold int svq3_decode_init(AVCodecContext *avctx) 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 (ff_h264_decode_init(avctx) < 0) return -1; |