pthread: fixed thread initialization issues related to thread-safe buffer allocator

Signed-off-by: Anatoliy Wasserman <anatoliy.wasserman@yandex.ru>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Anatoliy Wasserman
2011-12-07 14:14:49 -08:00
committed by Michael Niedermayer
parent ec8a3e25d8
commit 6778f9d9f2
2 changed files with 4 additions and 4 deletions

View File

@@ -241,8 +241,6 @@ static int libopenjpeg_decode_frame(AVCodecContext *avctx,
return -1;
}
ff_thread_finish_setup(avctx);
ctx->dec_params.cp_limit_decoding = NO_LIMITATION;
ctx->dec_params.cp_reduce = avctx->lowres;
// Tie decoder with decoding parameters