comment pthread : avctx->active_thread_type = FF_THREAD_FRAME_SLICE